A top Hamas political official told The Associated Press the Islamic militant group is willing to agree to a truce of five years or more with Israel and that it would lay down its weapons and convert into a political party if an independent Palestinian state is established along pre-1967 borders.
They wanted a unified Arab state, and they wanted the non-Arab immigrants out
It's true they wanted it to be an Arab state, since the vast majority were Arab. It's not that they wanted 'non-arab immigrants' out, it's that Zionist Settler Colonialism was quite different from normal immigration. Instead of integration, the early land purchases led to the expulsion of tens of thousands of Palestinians in the early 1900's. Many Palestinians opposed the Zionist Land Purchases and Immigration because of fears they would be forced out of their homes and communities, not because they were Jewish.
And failing that, they tried to put a genocide on them
Are you talking about the Ethnic Cleansing of Palestinians? Because that was planned and carried out. There was nothing remotely equivalent from Palestinians or the Arab Liberation Army.