Aliens, Foreigners, Visitors, Settlers and Strangers.

In response to the posting of Leviticus;

Alien residents referred to in the old testament had more to do with religion and the Mosaic law than be an alien from another country.
They were, in the 1st century subject to the laws of the Israelites given to them by God. It is not to be confused with obeying superior authorities in the New Testament.

Law covenant given to the Israelites were different from the law covenant instituted by Christ. Mosaic law only applied to the Israelites.

In the bible “alien resident” refers to a settler in the land of Palestine who was content to live among the Israelites, obeying the laws of the land but not fully accepting the worship of Jehovah.
Deut 5;14, 1;18, Lev 22;10.

The law covenant allowed for persons to come into the congregation of Israel by accepting the true worship of Jehovah and being circumcised and there were exceptions and restrictions. Egyptian and Edomites could not enter into the congregation until the third generation...
Deut. 33;7,8
illegitimate sons and their descendants were denied entry into the congregation “to the tenth generation”
Deut23;2
Ammonites and Moabites were prohibited “to the tenth generation”...to time indefinite...Deut.23;3-6

The alien resident who had become a circumcised worshiper was bound to one law with the Israelites..to obey all the terms of the Law covenant.
Lev 24;22

Alien residents, not having any land inheritance, ...some were slaves.
.Lev 25;44-46

Marriage alliances with foreigners war prohibited, due to the danger of corruption of pure worship. Ex 34;16 deut. 7;3,24, josh 23;12,13.

No actual alliance would be formed with foreign tribe of family.... her parent having been slain when her city was taken.
Deut 21;10-14.

In governmental matters had no political status and could never become a king. Deut 17;15.

The Israelites experienced many outrages at the hands of foreigner.
Lam 2;5-12,19-22.
Jews were in constant conflict with the foreigner around them...these factors, couples with the fear of mongrelising their race through intermarriage with foreigners....
1 kings 8;41-43; 2 Chor 6;32,33; Isa. 56;6,7.

As a rule the Jews had no dealing with the Samaritans, a people of mixed descent from Israelites and foreigners. John 4;8.

“You well know how unlawful it is for a Jew to join himself to or approach a man of another race.” Acts 10;28.

This all had to do with religion and not being an illegal alien from another country. So there is no relation between the problem we are having now, in the 21st, century with illegal aliens and the alien resident of the 1st century israelites.