Hamas would cease to exist if there was peace. They're a bunch of thugs akin to IRA/UDF. Conflict gives them power.
I wouldn't say you could in any way conceive that a result of the October attacks the Palestinians would be in a better position.
Even if you thought some form of attack was necessary, targeting civilians including women and children with rape and brutality cannot be justified.
It's absolutely grotesque to decribe what they did as armed resistance. And childish - you don't need to decide who is good and who is bad in the conflict and pick a side. Both sides are trapped in horrible pain and trauma and fear of the other.