Not unless we throw most of that hostile population out. Harsh move but there's no democratic way to deal with a hostile minority threatening to become the majority and change the identity of the country, except preventing them coming in in the first place. I'm sure Israel won't be the only one with such a policy, considering many countries in Europe facing a similar threat.
Report: Palestinian, 18, killed in clashes with IDF in West Bank (Haaretz)
from the article: Policy planning institute: Future of Jewish people is not assured