Hamas was voted in in 2006 or something like that. Only 22% of people alive now (I think) were part of that vote, so they should probably have another one. They may have changed their minds. At the time of the original vote, there is evidence Israeli leaders wanted Hamas to win so they could treat them militarily instead of needing to continue the peace process, and starved Fatah of campaign funds... but maybe that's just what some idiot said. Surely many of them still support violence.
In any case, Israel has legitimate security concerns. But so does Gaza. So IMHO Israel should not be the one enforcing the peace, a third party should step in and do it. And I know the U.N. is a dumpster fire, but it is all the world has, even Putin still works with it because there is no alternative. So maybe a U.N. peacekeeping force could be utilized. Israel would not agree, so it would have to be forced upon them.
I support Israel's right to exist, but only if they support Palestine's right to exist. They've had a long time to work that out, and when pressed they just point to the one part of the negotiations where Arafat rejected a bad deal, as though that was the end of all possible negotiations. At some point someone has to call it full-time on this delaying and revoke recognition of Israel as a state. Yes, that's hardball, but they don't respond to anything other.