I don't need to dispute your numbers, I simply don't think they are relevant to the moral evaluation of Israeli conduct.
Reference was made above to attacking a hospital is a war crime. Well, Hamas know the PR value of that kind of thing. So way before 7 OCT, they built out a network of hospitals across Gaza. Real hospitals, they get the PR for taking care of folks. But, they were ALL OF THEM colocated with military assets. This was a deliberate strategy by Hamas. Some call it the Dead Baby Strategy. It's kind of what they do.
Prior to the D-Day landings on Normandy, we bombed the ever living shit out of the countryside. the French countryside. Populated by French citizens, who presumably, hated the Germans and wanted us to invade. And we blew up those French civilians who were on our side. With our bombs, dropped from our airplanes. For all intensive porpoises, it was a deliberate act. It was not even close to a war crime.
America then decided that a critical vulnerability of the German war machine was ball bearings. In the plants we bombed, they weren't staffed by military, probably by mostly women. The hospitals and grocery stores and nursery schools we destroyed when our bombs missed their targets, well that was a casualty of war. Still not a war crime.
The scenario you are proposing seems to indicate Israel should not fire back when shot at, if there are civilians at risk. I assure you, America would shoot back. And so should the Israelis. It's not much more complicated than self defense. Hamas's war crimes (using human shields) are on them, not Israel. Realistically, this is black letter law. It's not my opinion, it's how war works. The right to fire back when attacked is God given, few people actually debate the truth of it.
The military mission of Israel is to kick Hamas out of power. How do you do that without killing their soldiers? Hamas is embedded with civilians, aiming to sacrifice as many innocents as they can. I don't know what you can do about that.
I feel for the Palestinians. I don't know what else to say. Nothing can be done, innocent lives will be lost. It is a tragedy.