Which they tried in 2005 in Gaza. They evicted the remaining settlers in Gaza and unilaterally withdrew from Gaza.
Hamas won the first and only election thereafter and ruled in Gaza from that point on.
In the years during and after the pandemic, Hamas deceived Israel in the way it presented itself. An IDF report assessing the massive intelligence failure on Oct 7 reported [0], "Israel saw Hamas as a pragmatic movement with whom it could do business." That was a tragic mistake.
The opinion of the Israeli public towards the desirability (and feasibility) of a two-state solution has tended to vary over the decades depending on the actions of external Palestinian and Arab actors. After the wave of Palestinian suicide bombings of buses and restaurants starting around the year 2000 it went down. Two years after the Gaza withdrawal it was back up, with 70% support for the two-state solution in 2007, when there were peace talks. [1]
The mass killings and kidnappings that Hamas did in 2023 pretty much eliminated any enthusiasm for two states at present. A recent poll put Israeli opinion at 70% opposition to a Palestinian state.
That could change again. Israel is a democracy, and people vote depending on what they see. The idea that a Palestinian nation will ever encompass "the river to the sea," is a complete delusion. The idea that Israel will ever see peace and security by annexing the entire area of the former British Mandate is likewise a complete delusion. If Hamas can be defeated, if the Palestinian Authority can get more effective, less corrupt leadership, if Israel can get a parliamentary majority that is no longer dependent on right-wing parties, if ordinary Israelis can get a hint that Oct 7 is not something that will happen again, then there might be hope for peace.
Y'all do want peace, don't you?
[0] https://www.ynetnews.com/article/bkd8rnrqkl
[1] https://www.jpost.com/arab-israeli-conflict/with-only-40-per...