Never mind the fact I do distinctly remember that this current shitshow was kicked off by Hamas killing ~1300-400 Israelis... of which only 300 or so were military. And of those 1000+ civilians, there's not even the thin excuse that there was a valid military target and they just happened to be collateral damage so they could take out a high-ranking officer. Never mind that there is credible evidence that some of what they did to those civilians was utterly repugnant, and well beyond just killing them.
With 300 of 1400 dead being military, the Hamas has a way better ratio of targeting military than the IDF.
Now we don't really have numbers of killed Hamas. But we can compare the ratio of children killed by the IDF to the ratio of children living in Gaza. As children can be assumed to be all civilians, we can somewhat extrapolate how much the IDF bothers to target Hamas members vs. how it is is just killing randomly everyone living in Gaza. And the numbers result in "pretty much randomly".
It seems like an effort to exterminate a portion of the Gaza population big enough to justify the bloodlust of current politics, not an effort to destroy Hamas with collateral damage.
And that is why i would judge the IDF here worse than the Hamas who seems to have at least tried to treat soldiers as primary targets for killing. What else is there is there to say, ehen Israel is not only murdering more civillians than Hamas in absolute but also relative numbers by far ?
You could say that the one thing that Hamas does and Israel didn't was the hostage taking, but even that seems sketchy with several hundreds of random arrests of "Hamas-terrorists" in the West-bank of all places. If Hamas had had that many active personal there, they would actually used them when they tried to escalate the conflict.