If palestinians had to kill every IDF supporter there wouldn't be many left standing in Israel.
And it's obvious but i still want to add it : Hamas was the government, they paid the salary of doctors, civil servants, and a huge part of the population.
And Gaza was one of the poorest population in the world because of the heartless Israel, typically the far-right will complain about the bad (re)actions of people while refusing to see their own responsability in the causes that led them to (re)act(, e.g., they'll refuse to see that poverty leads to crime, neocolonialism to immigration, or in this case that refusing a two-states solution leads to terrorism).
Not that it's a shortsightedness of Netanyahu, he mostly doesn't care, its expansion of the annexation of the Golan Heights was a success on which he ended his political career(, and of course there's the 77th anniversary, yay...), and now if he can take control in a form or another of Gaza, for "security", Israel will only have left to continue the slow colonization of the West Bank, slow enough not to cause too much of a stir, nothing difficult.
Even if the palestinians accepted demilitarization and everything Israel could demand, they probably still wouldn't obtain the two-states solution they're entitled to by international decisions, it wouldn't seem useful to speak about ways to improve Israel's security if the real cause is their desire to expand.
The only future left to palestinians would be to come back to launching "terrorist" (~suicide-)bombings from exile, like during the 70s and 80s, and i'm sorry that their suffering has to continue. I didn't realize how harsh&unjust their daily lives were, and the systematic injustices in the west bank(, only that the uninterrupted settlement's expansion left them no other choice than fighting back).
It's a win for Israel, we'll soon forget about everything, after all there are no foreign journalists allowed in, and almost no local journalists left to cover Gaza city's razing, and we didn't really see much. Far from sight, and far from the heart.
What would force Israel to accept a two-states solution ? The Bogotá conference was interesting with its economic sanctions, there's also diplomatic isolation if the US intervenes, local pressures and covert actions from unified neighbours, and a gamble that the future will let them take their revenge(, not a future with the US as the "world police" then, unless it's suddenly starting to defend the two-states solution, in deeds and not in words).
The west also holds a possibility to offer a territory for muslims and a territory for the jews in exchange for a third of the Holy Lands.