Israel has imprisoned people in “administrative detention” with no legal recourse for decades, for all kinds of bullshit reasons. If my home was being taken by settlers, which happens in the West Bank on the daily, I would do more than just throw stones. And it would land me in jail as a “terrorist”.
Hamas won the war even if they lost the battle. They still exist to fight another day (and judging from history they absolutely will), at the cost of countless Palestinian civvies. Israel lost the war even if they won the battle, at the cost of significant Israeli lives and reputation.
For most of us outsiders looking on, the moral to take away is this: Don't wage wars, everyone loses. Don't. Wage. Fucking. Wars. If a war must be fought, whether as the aggressor or defender or intervener, realize that everyone involved is fucking retarded and then fight all-or-nothing to end it swiftly with decisive achievements before anyone can realize what happened.