A 2 state solution was offered multiple times and was denied because Palestinian leadership had a hard line of Israel not existing.
When a 2 state solution became politically viable in Palestinian territory, Hamas seized power and refused further elections
Just because I don’t know if you want clarity on the whole thing, Palestine as never been a country. It was part of Jordan and Egypt before being lost in the 6 Day War, and part of a chain of empires before that. There was no unified Palestinian identity prior to 1967.