The source above sees the destruction of Hamas as a instrumental goal in achieving the real objective: the ethnic cleansing of the Gaza Strip. The article mentions Hamas in two contexts - historical, then and briefly at the end

The ongoing obliteration of Hamas, which terrorizes Palestinian Authority officials and many Gaza residents, may pave the way to the emergence of the proposed Sinai solution, if presented in a wise and discrete manner that conforms to the Middle East mentality.
It's certainly hard to see how Hamas would be in a position to stop this if it was agreed with Egypt (which it won't be, which is the reason why this article is pure fantasy but that's beside the point).

If the war is just stopped tomorrow (and Gaza is somehow rebuilt into a functional city again, which... I don't see how), then yeah, Hamas is pretty much coming back stronger than ever but I don't think that's how Israel sees this ending.