Almost every large community contains some people whom the community regards as foreigners. This often creates tensions (Num 12:1; Neh 13:23-25; Acts 18:2; 1 Thess 2:16), in spite of God’s desire that there be tolerance and harmony (cf. Matt 5:9; Rom 12:18; Eph 2:14-16). When the Israelites migrated from Egypt to Canaan, many foreigners were among them (Exod 12:38). In Canaan more foreigners were among them, because of the Israelites’ failure to wipe out the local people (Josh 17:12; Judg 3:5). (Concerning the specific reasons for exterminating the Canaanites see CANAAN.) Israelites themselves brought in more foreigners by taking people captive in war and bringing them back to Israel to work as slaves and labourers (Num 31:9; Josh 9:22-24; 17:13; 1 Kings 9:21; see SLAVE).
God has a special concern for those who are resident foreigners or who belong to other minority groups that are liable to unfair treatment by the majority (Deut 10:17-19; Ps 146:9). He instructed Israelites to treat foreigners with tolerance and kindness, and to remember how they themselves felt when they were foreigners in Egypt (Exod 23:9; Deut 24:19-22; see HOSPITALITY). Foreigners who worked for Israelites were to have one day rest in seven the same as Israelites (Exod 20:10). They were under the law of Israel (Exod 12:19; Lev 17:10; 18:26; 20:2; 24:16), but they also shared the national blessings of Israel (Deut 29:10-13; Josh 8:33; 20:9). They could join in some of Israel’s ceremonies (Num 15:14; Deut 26:11), but they could not join in the Passover unless they had formally become members of the covenant people (Exod 12:48-50; see CIRCUMCISION; PROSELYTE).
Under the new covenant, by contrast, there is no distinction between Israelites and foreigners. All believers are united in one body through faith, regardless of nationality (Gal 3:28; Eph 2:19; see GENTILE; RACE). Among Old Testament Israelites there was a sense in which even they were foreigners. The land of Canaan belonged to God and the Israelites were like foreign visitors, or pilgrims – people whom God allowed to live for a time in his land. That was why, after Joshua divided the land among the families of Israel, no one was to sell any portion of land permanently (Lev 25:23; see JUBILEE). In a sense all the inhabitants of the world are like foreign visitors, for the world is only their temporary dwelling place (1 Chron 29:15; Ps 39:12). This is particularly true of believers, whose real dwelling place is heaven (Heb 11:13-16; 13:14; 1 Peter 1:1,17; 2:11).