Efraim Halevy, a former Mossad chief, says that Israel does not face existential threats from any country or group and that Islam is not necessarily a religion of death; it can also be one of peace. He said, “I believe that there is no existential threat to Israel from anyone in the world including the Iranians. I believe that Israel has adequate responses to any threat that the Iranians pose.”
However, it is fair to say that a religious perspective of peace does not apply to Hamas. They revised their policy statement last year. Some excerpts:
Article 20: “Hamas believes that no part of the land of
Palestine shall be compromised or conceded, irrespective of the causes, the
circumstances and the pressures and no matter how long the occupation lasts.
Hamas rejects any alternative to the full and complete liberation of Palestine,
from the river to the sea.”
Article 25 says, “Resisting the occupation with all means and methods is a legitimate right guaranteed by divine laws and by international norms and laws. At the heart of these lies armed resistance, which is regarded as the strategic choice for protecting the principles and the rights of the Palestinian people.”
That's pretty bad by itself. The whole document reads like a threat to the State of Israel.
I have heard Noam Chomsky say that the Hamas charter was written by a few guys decades ago and is irrelevant. Well, a policy statement from 2017 is not irrelevant.
This does not mean that teenage boys rolling tires in a field deserve to be shot. But it does mean that Hamas is a serious danger to Jews living in Eretz Yisroel as well as to Palestinians in Gaza.