Everybody is trying to simplify a very comlicated narrative. Many people forget the Jews and Palistinians have lived there for thousands of years. The Palestinians and Arabs both sided with Nazis in trying to eliminate the Jews. https://jcpa.org/investigating-role-palestinians-arabs-holocaust/ .
This is the background of the multiple wars the Jews in Israel have fought. Now the Jews in Israel are not without blame, they have taken land and water rights from Arabs in Israel who were not part of Hamas, prior to the Hamas attack that was against women and children not Military infrastructure they have isolated Gaza and made it difficult for the people to live there. Partly because Gaza has been ruled by Hamas who have stated that they want to wipe Israel off the map.
Yes the IDF have bombed hospitals and killed innocent people. The Israelis have also shown that Hamas has embeded soldiers in hospitals, schools and other public areas where they have also stored arms, missles and at times fired those missles from these public areas.
If the Israelis were really trying to wipe the Palistinians out, why would they announce in advance where they were going to be bombing. If they had not done that there would have been a lot more that 35,000 dead people per Hamases count as they supply the numbers of killed.
I do blame the Israelis for being much to slow in allowing aid like food, water, medicine, etc into Gaza especially the North where they decimated it early on. Sadly there are no winners just losers. The Israelis state can't afford to lose because if they do they will be wiped out and after the holocoust the Jews don't believe anybody would come to their aid. The Palestinians in Gaza and to an extent in the West Bank have sided with Hamas and or the PLO. Both Hamas and the PLO have taken in billions of dollars from the UN that was suppossed to improve conditions in Gaza and the West Bank but especially in Gaza and have used the money and resources to creat an extensive tunnel network, created, bought or were given weapons and missles instead of using the money to help their own people.
I also won't deny that there have been times in Gaza where some IDF units have gone to far either by mistake or sadly a few times on purpose. Sadly that happens in every war. Jewish settlers have done attrocious things in some Arab towns and the Israeli government has not protected those towns or prosecuted the offending settlers.
There are Jews in Israel who openly and publically condemn their Government over the attrocities and nothing happens to them In Gaza if you speak out against Hamas you dissapear. The Palestinians in Gaza are oppressed by Israelis and by their own leaders. Any poll taken in Gaza has to be taken with a grain of salt if you think anybody would openly say anything against Hamas.