Leviticus 19:34

34 The stranger that comes to you shall be among you as the native, and thou shalt love him as thyself; for ye were strangers in the land of Egypt: I am the Lord your God.

Leviticus 19:34 Meaning and Commentary

Leviticus 19:34

[But] a stranger that dwelleth with you shall be unto you as
one born among you
Especially if a proselyte of righteousness; for then he enjoyed the same privileges, civil and religious, the Israelites did, for there was one law for them both, ( Exodus 12:49 ) : and thou shalt love him as thyself;
and show it by doing all the good things for him they would have done for themselves in like circumstances: for ye were strangers in the land of Egypt:
and therefore knew what hardships such were exposed unto; and it became them to put on bowels of compassion, and show pity to those in a like condition, and particularly consider, as Jarchi suggests, that they were idolaters there also, and therefore ought not to upbraid strangers with their former idolatry: I [am] the Lord your God;
who showed kindness to them when strangers in Egypt, and had brought them out of that land, and therefore ought to obey his commands, and particularly in this instance.

Leviticus 19:34 In-Context

32 Thou shalt rise up before the hoary head, and honour the face of the old man, and shalt fear thy God: I am the Lord your God.
33 And if there should come to you a stranger in your land, ye shall not afflict him.
34 The stranger that comes to you shall be among you as the native, and thou shalt love him as thyself; for ye were strangers in the land of Egypt: I am the Lord your God.
35 Ye shall not act unrighteously in judgment, in measures and weights and scales.
36 There shall be among you just balances and just weights and just liquid measure. I am the Lord your God, who brought you out of the land of Egypt.

The Brenton translation of the Septuagint is in the public domain.