It would not. What's happening in Gaza is the end result of decades of systematic policy.
If Israel ever intended to some day have peace, they would recognize that Palestine is a country (like the majority of the countries in the world does).
October 7th was a valid reaction to people violently stealing your land and killing your families. The Palestinians had even tried a peaceful March of Return only to have the IDF snipe over a thousand people.
Israel is not a legitimate state, and never has been.
Well the Arab states collectively stole land 5 times the size of Israel from the Mizrahi Jews they ethnically cleansed (who now make up a majority of Israeli Jews)
So by your logic the Mizrahi Jews are entitled to enact October 7 style killings on the Arab states until they pay reparations for the land they stole.
If the Arab states think the Palestinians deserve reparations for stolen land, then obviously the Mizrahi Jews deserve multiples of those reparations.
If the Arab states think they can avoid paying reparations for the land they stole just by taking Israel by force, well they tried that several times and failed already.
Numerous Israeli government officials have said publicly that the current war is not going to end until Palestinians no longer live in Gaza.