Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
WEB

Exodus 22:21

“You shall not wrong an alien or oppress him, for you were aliens in the land of Egypt.

Read in other translations