In war the idea is to kill more of the enemy than die on your side.
It's not.
In war, the idea is to achieve a situation where you have achieved your objectives, while denying you enemy the ability to achieve theirs.
War
MAY include killing more of the enemy than die on your side, but it also may not. See, for instance, Russia in WW2, Vietnam in the 1950s through 1970s, or the multi-party melee of the Chinese civil war in the 1940s. In all these conflicts, the victors suffered substantially more casualties than their opponents, but they were still able to achieve their conditions of victory.
This reminds me of the Japanese, a fanatical civilian population very much supportive of their military. As in Japan, the people of Gaza are not protesting the cowardly acts of Hamas. The Japanese could be brutal and sadistic, and they did kill babies at times, but even for them I think the targeting of babies would have hit them at some level of conscience.
I'd like to think that we've come some distance in our theory concerning the legality and prosecution of warfare since 1945.
Consider the US response to Japanese fanaticism - a mass bombing campaign that ended up deliberately targeting civilian population areas (copying the UK's "dehousing" campaign against Germany) with saturation attacks, and ultimately saw the use of two weapons of mass destruction on cities of only marginal military value.
These would be considered war crimes today, and rightly so.
So tragically, when you have such fanatical civilians who themselves are willing to kill Israelis and sacrifice their own children the "count" of lives sadly cannot be a matter of concern. They have targeted babies and other innocents, something Israel and the rest of the civilized world will not do, and there should be no quest to even out the numbers until the next attack by the jihadists.
Hamas is fanatical, and there is more than an echo of a death cult about its membership. Yes, Hamas has targeted "babies and other innocents" deliberately, as a matter of policy and as an integral prosecution of its war effort. It's a terrorist organisation that murdered its way into government, and continues to operate as such.
But, let's not pretend that the IDF's prosecution of its war against Hamas, both in the current conflict and in the recent past, has not seen them also deliberately and indiscriminately targeting civilians. You don't bomb a refugee camp by accident, particularly not when you come back 12 hours later and bomb the people undertaking rescue efforts. And then bomb it again the next day.
There's no following the laws of war there, which require distinction, precaution and proportionality. Those are principles that Israel is ostensibly committed to, and has a legal obligation to follow.
I'd love to see Hamas eliminated. It's done very little but bring misery to the Palestinian people for the last 20 or so years. But, I also dont think you can use Hamas' war crimes to excuse the war crimes of the IDF. "They did it first" is playground levels of reasoning.