Have you actually read it?
The movement
1. The Islamic Resistance Movement “Hamas” is a Palestinian Islamic national liberation and resistance movement. Its goal is to liberate Palestine and confront the Zionist project. Its frame of reference is Islam, which determines its principles, objectives and means.
The Land of Palestine
2. Palestine, which extends from the River Jordan in the east to the Mediterranean in the west and from Ras al-Naqurah in the north to Umm al-Rashrash in the south, is an integral territorial unit. It is the land and the home of the Palestinian people. The expulsion and banishment of the Palestinian people from their land and the establishment of the Zionist entity therein do not annul the right of the Palestinian people to their entire land and do not entrench any rights therein for the usurping Zionist entity.
3. Palestine is an Arab Islamic land. It is a blessed sacred land that has a special place in the heart of every Arab and every Muslim.
...
The position toward Occupation and political solutions
18. The following are considered null and void: the Balfour Declaration, the British Mandate Document, the UN Palestine Partition Resolution, and whatever resolutions and measures that derive from them or are similar to them. The establishment of “Israel” is entirely illegal and contravenes the inalienable rights of the Palestinian people and goes against their will and the will of the Ummah; it is also in violation of human rights that are guaranteed by international conventions, foremost among them is the right to self-determination.
19. There shall be no recognition of the legitimacy of the Zionist entity. Whatever has befallen the land of Palestine in terms of occupation, settlement building, judaisation or changes to its features or falsification of facts is illegitimate. Rights never lapse.
But sure, back a group that admits they are a theocratically motivated supremacist group.
And then there's that whole thing about them refusing to be part of negotiations.
p.s. Pretty funny that you demand the Palestinians accept a One State peace that they hate then go on about Hamas wanting a Two State peace.