Hamas are not the Palestinians. Palestinians - like any group - have diverse views.
Only 30-40 thousand Palestinians were Hamas fighters at the start of the war: 1.5-2% of the population.
More Palestinians actively supported Hamas. One released Israeli hostage was shocked that she was held prisoner by a Palestinian family, that many seemingly ordinary Palestinians were actively part of holding her hostage.
Yet more Palestinians again support Hamas' cause and methods. Not all. But a Reuters report in December found that 70% of Palestinians supported Hamas's attack (although they generally didn't believe that the torture and rape had happened). I remember reading a different poll taken before the war that suggested 60-70% Palestinian support for armed conflict with Israel.
Given these percentages - and also the history of wars and attacks going back to 1947 and earlier - it's not unreasonable for @PiersPlowman11 to believe not only that Hamas want to destroy Israel, but also that as a collective, any Palestinian entity will have the same aim.
I hope that's not the case. I hope that a higher percentage of Palestinians can come to see that peaceful coexistence is in their own interests. And that they manage to influence the leadership to attempt that path. And that violent militants don't co-opt the government again and force conflict despite being a minority.
I hope those things. But I also understand if @PiersPlowman11 can't believe that things will change.