Not everything that one might read in a book of scripture or hear at church or temple has directly to do with religion.
Most if not all belief systems, theistic or non-theistic, also contain clauses on practical issues of self-preservation: from washing one's hands before eating to keeping a distance from suspicious people to driving out enemies.
Nobody is free from intruders of one kind or another, and everyone has to deal with them somehow, and in fact deals with them somehow.
The US sends its army around the globe to kill those who it considers to be a threat, children at school isolate or bully a classmate who doesn't fit in, your landlord evicts you if you don't pay the rent, you lose your job if you don't do your job properly, a gang of thugs beats you up if you don't pay them respect, a husband divorces a cheating wife, at an online forum, you put on ignore those whom you can't stand, people living in simple circumstances throw stones at intruders, parents disown their lazy children, the state locks up criminals ...-
everyone is subject to people who are intruders, pose a threat, refuse to cooperate, are a waste of one's time and resources, or are in any other way a pain in the neck, and everyone has to deal with them.
It is a strange idea that anyone, religious or not, should tolerate those who are intruders, pose a threat, refuse to cooperate, are a waste of time and resources, or are in any other way a pain in the neck.