I suggest Israel root out Hamas. Then hold elections to create a Palestinian government that’s willing to negotiate with Israel for their own state
The iron dome also isn’t perfect and doesn’t change the intent. If I make my house bullet proof and you shoot it every day in the hopes of killing me at some point I have the right to get rid of you by some method surely?