How would you expect any other world leader to respond to the rape, torture, mutilation, slaughter and wounding of 8,000+ citizens (and visitors), as well as hundreds of hostages kidnapped, on the scale and in the short time frame that Palestinians committed Oct 7th out of interest?
I would point out it was not only Hamas who committed the atrocities of Oct 7th.
Are all wars 'revenge' and not greatly violent then?
That people commentating on this war STILL don't understand that Oct 7th's UTIMATE goal, while also giving 'ordinary' Palestinians the opportunity of an orgy of frenzied killing and raping of Jews, was to start a war in Gaza and demonise Israel on the world stage for civilian deaths, who were actively used as 'necessary sacrifices' is baffling to me.
So creating international outrage and resulting political pressure (internal Israeli politics as well) damaging Israel's diplomatic relationships and international reputation, encouraging economic and cultural boycotts, and ultimately making Israel a political, social and economic pariah (which is the current phase) building on age old ingrained antisemitism to make it, and it's people, the most hated country/people in the world!
Of course, losing the support of the US through the above will leave Israel very exposed.
There was never any chance Palestinians could ever annihilate Israel (which was always the ultimate goal) militarily, for the specific reason that Israel 'oppressed' them by not allowing them means to build a 'proper' Army - heavy artillery, planes, tanks, warships etc, and it was too risky with US support of Israel for other supporting actors to join in.
Sinwar studied Israeli society and politics for years and knew exactly what the response would be to Oct 7th.
Why on earth do you think the pro-Palestinian marches, social media and 'activist' propaganda campaigns were all in place while the actual genocide was still taking place in Israel?
I bet Netanyahu knew the ultimate aim of Oct 7th as well but there was no other option for Israel but to do what Hamas/Iran (and other supporting actors) knew they would do. Hamas needed to be dismantled.
I don't think Israel expected a large proportion of the world (and so their governments) to still be so dumb and deranged with Jew hatred in 2023 that Hamas and their supporters plan would work though.