The stated israeli objective of "destroying Hamas" is IMO a nonsense, and more likely just a cover story for a massive attack on Gaza.
As long as Palestinians exist the resistance to israel will exist, and this present conflict is the best recruiting tool Hamas could have wished for.
Even if Hamas vanished, another organisation to resist israeli oppression will take it's place.
No matter how the israelis control Palestinians inside the israeli, Gaza, West Bank borders, there are millions outside those borders that israel is unable to control.