They declared war. IMO, I think limited warfare is a losing game for them. I understand completely the moral dilemma you are pondering.
I think we all are.
We have dumbass Leftists in this country who define someone like Donald Trump as an “existential threat” to our country, which is absolute idiotic stupidity. All it does is tell me that they have no idea what an “existential threat” is.
The Arab world, in this case Hamas and soon Hezbollah, are, and have been, real “existential threats” to Israel.
I support them in whatever they have to do to survive. They have shown repeatedly they can live in peace, but we have also been shown repeatedly, Arabs cannot.
“Civilian” families, mommies and daddies, will and do happily send their children out to be suicide bombers. The number of civilians in Gaza who are not active supporters of the intended New Holocaust is miniscule. The children who are not given as martyrs will grow up to kill Jews. Total control of the population and especially in the schools is required for several generations before the population, if allowed to continue to live in Gaza, can be somewhat pacified.