You will only get a lasting solution if you get rid of Hamas .For that particular threat.
For an end to it all, that applies to islam as a whole, because the mentality is fostered by the koran.
Westerners who have read the print versions of the Holy Quran sold in the USA in the last few decades believe Islam is a "religion of peace" because the translations have been radically changed to make it appear to be.
This is a link to a free book on Gutenberg.org, three translations by 3 Imams of the Holy Quran side by side.
Anyone who reads this will understand what is going on and what will be going on.