The point that you're missing from your argument here is "proportionate response".
What we have seen from Israel is not proportionate. The death of over 4000 children who have nothing to do with Hamas, and have no idea about politics is not acceptable. This is a mass slaughter of innocent civilians. Nobody disputes the facts that Israel should defend themselves, but if we are honest Israel (throughout history dating back to 1948) rarely follows the rules of international law. The illegal settler towns are evidence of that. Israel started off in 1948 the size of a postage stamp and has aggressively increased its size to an A4 piece of paper. Israel is an aggressive neighbour, and everybody deserves to live with dignity and respect. That has not happened for the Palestinians for 70 years as they've been moved off their own land and pushed into a strip of land which is overpopulated, and without the basic services for what we would class as normal.
If you oppress a population in this way what do expect would be the outcome? Israel could have lived in peace with a Palestinian country as a neighbour, but it chose to subject these people to this terrible oppression.