Here's the best intro on the background of Hamas - Israeli relations: https://www.foreignaffairs.com/articles/israel/2019-03-29/israel-and-hamas-need-each-other
Wikipedia has an article too but they waffle too much, its "ground zero" for "edit wars".
https://en.wikipedia.org/wiki/Israeli_support_for_Hamas
Regarding what the Jewish community wants, 100% agree, but what the Jewish global community wants, what Israeli citizens want, what the Israeli govt wants, and what various cliques of oligarchs who don't even live in Israel want are not the same.
If they were, there would have been no need for Israel's security establishment to foster Hamas behind their people's backs.
Endless crimes against Palestinians, who 100 years ago were more friendly to Jews than any European country, is not in the global Jewish community's interests.
It's in Hamas' interests, its in the Israeli security state's interests, its in American weapons manufacturers interests, and its in the interest of certain Jewish oligarchs who prefer to see one Jew lying dead than ten Jews eating and drinking with a non-believer.
But its not in your interest. And dismantling the incentive structure they've built is going to be the work of decades.
Without credible threats from Palestinians, the need for fear and war can only be met by attacking other third countries, as we are seeing now. Read what Smolrich and Gvir have said publicly about Israel's borders.