Hamas is a strategic asset to the current set of hardliners in control of the Israeli government. They are "the town murderer" pointed to by the authorities, but conspicuously done nothing about as a justification of why they are the only sane choice to run things. Hamas and Israel's government are thus in a symbiotic relationship.