That is true but it does not excuse the Israeli government's killing of thousands in Gaza. Just saying.
Tell me how you would do it. Just a reminder, Hamas lies constantly. Hamas draws no distinction between civilian and their own casualties. Hamas routinely murders Gazans. Hamas uses human shields routinely. Hamas has tunnel entrances in schools, hospitals and mosques. Weapons are stored in tunnels below those structures. Tunnels are routinely booby trapped. Israel destroys those tunnels. When the tunnels blows up, often the buildings above collapse.
Israel is the only nation ever to warn civilians to evacuate before launching a strike. Hamas tries to prevent people from evacuating because they want human shields.
You are not dealing with normal human beings. Hamas represents the worst of human nature. Israel is not perfect, but compared to Hamas and its Iranian masters, Israel is humane.
Note that no nation in the region accepts so-called Palestinian refugees. When Jordan accepted them decades ago, they attempted to overthrow the government. The Western world either does not understand, or does not want to understand the truth about "Palestine". There never has been a Palestine nation. There are no Palestinians. It is they who seek genocide - "from the river to the sea" means the extinction of Israel. There are two million Arabs living in Israel. They are citizens with equal rights. They had a supreme court judge who jailed am Israeli PM, they have MP's and some serve in the IDF.
Israel has two choices. Defeat Hamas in Gaza or put up with constant attacks until Jesus comes back. What would you do? As a former military person I believe Israel has been way too soft in the past. I also believe that Israel has learned its lesson. Europe and the UK are learning how despicable and violent some Muslims are right now. Those countries are trying to appease instead of fight. They will discover that they have made a terrible mistake also.
Be glad you live in Australia. Even so, we have Muslim extremists here and we do little to rein them in.