~25 years ago (when I was there last) Israel had not yet learned the value of strong border walls and strict entry control. Buses were being blown up nearly every day.
They learned from their lapses in security. The USA seems to be learning a little from Israel’s example....finally
Allowing a nest of vipers to exist within or next to the border is a recipe for eventual failure