Both Jews and Palestinian have legitimate grievances, going back over a hundred years, and they are so numerous that it seems pointless to enumerate them here. And these grievances have consistently been used by both sides to trivialize of deny the grievances of the other side. Its is the ultimate Oppression Olympics.
The problems are also much deeper than just "Netanyahu and Hamas". Not only does Netanyahu keep getting re-elected, these ultra hard-right Religious Zionist people have also gained quite a lot of ground, and these people are utterly bonkers, having expressed views that are nothing short of genocidal (even before the current war). And at the same time Hamas also has fairly wide-spread support among the people of Gaza, and Hamas has also expressed views that are nothing short of genocidal.
In short, it's a cultural problem, not a "Netanyahu and Hamas"-problem. Conflicts like this ends when people get tired of the violence and stop caring about who did what to who, and just want it to stop. This is why the Good Friday Accords in Northern Ireland have held, in spite of some opposition, as well as lingering grievances and even outright hatred, from both sides.
I'm not seeing this willingness here. The last time this was really present was the 90s, a hopeful period in general, and the Oslo accords between Rabin and Arafat seemed to be the start of the end of the conflict. It was not to be, and things didn't end well for either men: one got murdered by one of his own religious nutjobs and the other eventually got side-tracked by his own religious nutjobs, and things have only gotten worse since then.
I'm not hopeful for a resolution any time soon. Solutions for fundamental problems like "Gaza has been an open air prison for 15 years and we need to do something with these people" are barely being asked, and even the question itself is met with hostility by some.
Maybe someone still has a savegame from a few decades ago and we can try again? That seems the most plausible solution.