There's no good side. I am not sure where you are based but there was a good program on BBC recently looking at the origins of the conflict and the Arafat/Sharon attempts at diplomacy etc. both sides continuously act in bad faith but yes on this occasion Hamas murdered many people in a terrorist attack and then cried when they got stomped in return. It is a tragedy that no one deserves to suffer, and the Israelis for sure are happy to exploit the tragedy for their own means to grab more land and political power in those areas, but as parents used to say, "if you can't do the time, don't do the crime". Don't vote in a political party who have been open and explicit that the complete destruction of the Israeli state and people is their main political ambition and then complain when the other side decide they want the same
Edit - on the last point see:
https://en.m.wikipedia.org/wiki/1988_Hamas_charter
This is the poverty of discourse at the moment.
You initially fail to distinguish the actions of an extremist group from that of the general population. Then you try to gloss over that initial error by claiming that the population voted for such a party- ignoring the political and social reality on the ground.
I suspect you are American. For whatever people say about the United States and its broken system, the US remains a strong democracy.
That fact is explained on account of the continuity of political systems that includes Russia, the occupied territories in Gaza, Venezuala, etc. Going back to the United States, I am sure that a lot of people rightfully complain about the disconnect between their political leadership and the voting population. I am Canadian. My democracy is also strong (using the same standards as the US). I have huge issues with many of my political leaders, federal and provincial.
I do not think it takes much creativity to understand that the political representation in Gaza may not reflect the will of the people. You should be more sophisticated in that analysis.
Irrespective, you should at least understand basic moral reasoning, if not international law. The highest standard is not to return injustice for injustice. There are various iterations of this, including the christian seremon on the mount. At the very least though, in Judaism the standard is "an eye for an eye", which is measured reciprocation. In international law it is, at the least, the principal of proportionality. At a higher level, humanitarian law. Humanitarian law dictates that, NO MATTER WHAT you do not target civilians, you do not target hospitals, etc.
Of course, I am speaking out into the ether.
You made your comments knowing well that Israel used sophisticated weapons to kill ~30k people, the vast majority civilians (2.1k militants, 1:14 ratio), due to an attack that killed 1.1k people, majority civilians (373 security forces, 1:4 ratio).
Hamas and the Israeli government should be held fully accountable for treating civilians like straw dogs for their political purposes and the violence should end. Full stop.