In this case it's akin to the bullied child crying 'I'll kill you', from his puddle of blood on the ground. Israel's own conduct in Gaza and the West Bank is the primary threat to the existence of the state. Not two million impoverished people who've been crushed under an imperial boot since the theft of their land almost eighty years ago. Israel is a wealthy, post industrial US backed, nuclear power. Hamas are a convenient boogyman allowing them to further consolidate their control over land that international law recognises as occupied [1].
[1] https://www.timesofisrael.com/for-years-netanyahu-propped-up...