The whole point of capturing soldiers is to keep them from returning to the field. You deny the other side fighters.
Hamas raped, murdered and kidnapped civilians.
That seems like a massive exaggeration.