Sorry, @kirinm - I must have mis-remembered the pre-October poll, probably confusing it with the Reuters one showing 70% support for the October attack (which did shock me)
I've found this article and a few others, which suggest 50% of Gazans supporting a 2-state solution prior to 7th October, and only 20% supported armed resistance.
https://www.france24.com/en/live-news/20231128-rare-survey-details-how-gazans-wary-of-hamas-before-israel-attack
One thing - you're misunderstanding my post about the number of combatants. I'm not at all suggesting that there are 500k Hamas combatants. Estimates at the start of the war were 30-40k, and 9k have reportedly now been killed.
I said that there are 500k Palestinians of fighting age (and allowing for gender) in the whole of Gaza. The reason for calculating that number was to get an idea of what proportion of 'ordinary Gazan people' are actively trying to destroy Israel - since that helps to see how reasonable Israel's fears are about a 2-state solution.
30-40k fighters out of a possible total of 500k is a lot. If you live on a street with 50 houses, then 3 or 4 of the homes on your street would have someone in them going out with a gun to attack Israel. I think you'd know who they were! Another 4 households would agree with them that war with Israel is the way forward, although they wouldn't be fighting themselves. And 35 out of the 50 houses would support the Hamas attack on 7th October.
We can't see Hamas as this separate, tiny group who have descended from Qatar and are enslaving the Palestinians against their will.
Islamic militants are within and part of Gazan society. Not all Palestinians agree with them, but a lot do.
No one is saying that this means Palestinians are deserving of the war, or that Palestinian civilians are legitimate targets. I absolutely, categorically don't believe that.
But it does explain why the 2-state solution doesn't seem possible right now.
What is the alternative? As I've said, I don't know. But I like @1dayatatime 's plan. Take out Hamas so that there's some kind of chance. Help the West Bank to flourish - still with security control, since how could Israel allow open borders and an army when there is such high support within the population for attacking Israel?
But the change needs to come from Palestinians changing their minds. Even if it takes a full generation or longer.