Your solution is not a viable one.
You and I know there is no Israeli PM who will advocate for a Palestinian state and keep his job. Forget about a one state solution...that's a fantasy.
Palestinians have to be resettled in another country.
Resettlement of Palestinians isn’t viable. Recently Armenians were ethnically cleansed by Azerbaijan but it was only 100,000 and Armenia was there to take in the population. The Palestinian population is many times greater. Furthermore the surrounding Arab states in comparison either hate the Palestinians, are indifferent, or would be indignant to outraged if Israel subsumed control over all territories. There is no where for Palestinians to go.
Never mind the fact the Palestinians and their supporters, many of which are very wealthy both in Palestine and abroad would rebel if such a plan was made public.
This day in age you can get away with small scale ethnic cleansing if the affronted ethnic minorities but something if this magnitude would be inconceivable and politically destructive for everyone.
The only solution is the US and other powers to step in and impose a two state solution by force if necessary with a permanent international occupation.