Hamas spokespersons disagree with you. They are proud to proclaim that 50 of 60 terrorists killed last week were Hamas members to be honored for their “martyrdom”.
Hamas is desperate. It has squandered a huge bounty of foreign aid building terror tunnels and buying weapons instead of using it to improve living conditions for the people of Gaza. Egypt and Israel have imposed arms blockades. Hamas has refused to invest in infrastructure and has criminally neglected to maintain clean water and sewage treatment systems. Hamas won’t pay the Palestinian Authority for electricity and the PA has insisted Israel reduce electricity it supplies. In the border riots a month ago, Hamas blew up the fuel supply lines at the Kerem Shalom crossing, brilliantly causing a fuel shortage. The EU had supposedly agreed to rebuild it, but the EU is now denying it.
Hamas has even turned away needed medical supplies sent by Israel.
Hamas is staging violent attacks attempting to breach the border in conjunction with larger demonstrations. It is a campaign of increasing provocations designed to produce martyrs and thereby score a fleeting propaganda victory.
Israel does not want to kill anyone. It acts in the most moral way it can, using non-lethal means when possible, and controlled sniper fire only when necessary.
The larger strategic situation is turning against Hamas. Israel is growing by leaps and bounds, Israeli Arabs are prospering, and Sunni Arabs are looking to make common cause with Israel to counter the Iranian mullahs. Even in Gaza, there is tremendous resentment at how miserable things have gotten under Hamas leadership.