9 “Do not oppress a foreigner; you yourselves know how it feels to be foreigners, because you were foreigners in Egypt.

Read Exodus 23:9 Using Other Translations

Also thou shalt not oppress a stranger: for ye know the heart of a stranger, seeing ye were strangers in the land of Egypt.
"You shall not oppress a sojourner. You know the heart of a sojourner, for you were sojourners in the land of Egypt.
“You must not oppress foreigners. You know what it’s like to be a foreigner, for you yourselves were once foreigners in the land of Egypt.