Exodus 20:2

20:2 “I, the Lord, am your God, who brought you from the land of Egypt, from the house of slavery.

Exodus 23:9

23:9 “You must not oppress a foreigner, since you know the life of a foreigner, for you were foreigners in the land of Egypt.

Deuteronomy 10:19

10:19 So you must love the resident foreigner because you were foreigners in the land of Egypt.

Deuteronomy 15:15

15:15 Remember that you were a slave in the land of Egypt and the Lord your God redeemed you; therefore, I am commanding you to do this thing today.

Deuteronomy 23:7

23:7 You must not hate an Edomite, for he is your relative; you must not hate an Egyptian, for you lived as a foreigner in his land.