Presumably we all agree that's unacceptable.
So somewhere between "zero collateral civilian casualties" and "all collateral civilizian casualties" is warranted.
Which leads to a debate about where the line should be.
And to the IDF's credit, as much as I have issue with their absent strategic goals and tactical choices, they are fighting a guerrilla insurgence in one of the most density populated areas in the world.
So, it could have been worse? But it still isn't great.
Israel has been caught multiple times willfully killing civilians in this conflict, and there are hundreds of statements by politicians, officers and soldiers calling for atrocities or even genocide. Israel is not a moral actor, and far more comparable to Hamas than any real democracy.
If Israel could neutralise Hamas and retrieve the hostages with zero casualties, they would do it. That's obviously impossible.