Two types of people are to be avoided. The “strange woman” (adulteress NASB) (2114a) and the “stranger” (foreigner NASB) (5237). The translations tend to overlap in English. The first literally means stranger and the second foreigner. Keep in mind the tribal sense of social relationships of the day. People identified with those related by blood. Anyone outside was to be treated with suspicion.
We have come a long way. Paul set the standard with
(Colossians 3:11 KJV) Where there is neither Greek nor Jew, circumcision nor uncircumcision, Barbarian, Scythian, bond nor free: but Christ is all, and in all.Our new relationships are based on the blood of Christ.
So? Limit your involvement with those outside the faith. Obviously we cannot all go live in communes. What we can do is listen to those who speak with wisdom and a fear of the Lord.