https://en.wikipedia.org/wiki/Battle_of_Gaza_(2007)
https://en.wikipedia.org/wiki/2006_Palestinian_legislative_e...
We haven't had an election since mostly because Hamas would win it. [EDIT: Clearly opinionated, we can/should look at polls since 2006 till today to get a sense of where Palestinians are leaning]
"In light of the Fatah movement’s fragmentation, Hamas holds a clear advantage in potential legislative elections, as shown by public opinion polls indicating a likely landslide victory." - https://carnegieendowment.org/sada/84509
As we know from other countries, not all elections are decided by a super-majority, Hamas won by the rules of their "democracy", it would have won in any other elections, and it and its actions enjoy broad support.
[EDIT: I guess we can't tell for sure what results we would get in an election that didn't happen but here is some more colour on the elections of 2021 that were cancelled by the PA:
https://www.npr.org/2021/04/29/992065009/palestinian-authori...
https://www.aljazeera.com/news/2021/4/30/palestinians-polls-...
https://www.timesofisrael.com/abbas-officially-delays-palest...]
"Despite the devastation, 57% of respondents in Gaza and 82% in the West Bank believe Hamas was correct in launching the October attack, the poll indicated. A large majority believed Hamas’ claims that it acted to defend a major Islamic shrine in Jerusalem against Jewish extremists and win the release of Palestinian prisoners. Only 10% said they believed Hamas has committed war crimes, with a large majority saying they did not see videos showing the militants committing atrocities." - https://apnews.com/article/israel-hamas-palestinians-opinion...
Where I will agree with you is that the Israeli government has chosen a strategy of divide and conquer and were happy to see the internal battle between Palestinians and use that as an excuse/weapon. But again, you're giving the Palestinians too much of a pass here. Also it's inaccurate to say that Israel funded Hamas (something another comment said). Israel allowed Qatar to pass money into Gaza to pay for government officials salaries.
https://www.reuters.com/article/idUSKCN1NE1ET/
Many countries funded Hamas because every penny sent to Gaza goes to Hamas. Gaza received billions of dollars from many countries.
https://apnews.com/article/business-middle-east-israel-forei...