For those who don't know, Israel withdrew from Gaza in 2005 in a peace deal. It was a year after that, in 2006, that the Gazans voted 40% for Hamas.
This is from the Hamas founding charter from 1988:
'the Islamic Resistance Movement aspires to the realisation of Allah's promise, no matter how long that should take. The Prophet, Allah bless him and grant him salvation, has said:
"The Day of Judgement will not come about until Moslems fight the Jews (killing the Jews), when the Jew will hide behind stones and trees. The stones and trees will say O Moslems, O Abdulla, there is a Jew behind me, come and kill him. Only the Gharkad tree, (evidently a certain kind of tree) would not do that because it is one of the trees of the Jews." (related by al-Bukhari and Moslem).
The Avalon Project : Hamas Covenant 1988 (yale.edu)
This is a senior Hamas official in 2022:
'“We believe in what our Prophet Muhammad said: “Allah drew the ends of the world near one another for my sake, and I have seen its eastern and western ends. The dominion of my nation would reach those ends that have been drawn near me," Zahar said in the video that was published on MEMRI TV in December of 2022,
“The entire 510 million square kilometers of Planet Earth will come under [a system] where there is no injustice, no oppression, no Zionism, no treacherous Christianity and no killings and crimes like those being committed against the Palestinians, and against the Arabs in all the Arab countries, in Lebanon, Syria, Iraq and other countries," he said.'
WATCH: Israel is only the first target, warns Hamas commander - The Jerusalem Post (jpost.com)