Deuteronomy 10:19

17 For the LORD your God is God of gods and Lord of lords, the great, mighty, and awesome God, showing no partiality and accepting no bribe.

18 He executes justice for the fatherless and widow, and He loves the foreigner, giving him food and clothing.

So you also must love the foreigner, since you yourselves were foreigners in the land of Egypt.

20 You are to fear the LORD your God and serve Him. Hold fast to Him and take your oaths in His name.

21 He is your praise and He is your God, who has done for you these great and awesome wonders that your eyes have seen.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
So you also must love the foreigner, since you yourselves were foreigners in the land of Egypt.
KJV
Love ye therefore the stranger: for ye were strangers in the land of Egypt.
WEB
Therefore love the foreigner, for you were foreigners in the land of Egypt.
ASV
Love ye therefore the sojourner; for ye were sojourners in the land of Egypt.
DARBY
And ye shall love the stranger; for ye have been strangers in the land of Egypt.
BLB
And you⁺ shall love the sojourner, for you⁺ were sojourners in the land of Egypt.
ÅB
Derfor skal også dere elske den fremmede; dere har selv vært fremmede i Egypt.
OTB
Vis kjærlighet til dem som er fremmede, for dere var selv fremmede i Egypt.
B1930
Derfor skal også I elske den fremmede; I har selv vært fremmede i Egyptens land.

Study notes (Tyndale)

Original text and word study

Cross references