In an ideal world what you’re saying would be true. Hamas could be eradicated without civilian casualties. No children would get hurt.
But you’re not proposing an alternative — and part of the reason is that Hamas has made it explicitly hard to do so.
Is the verdict that any territory that is sufficiently populated can’t be retaliated against?