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

Exodus 23:9

And ye shall not afflict a stranger, for ye know the heart of a stranger; for ye were yourselves strangers in the land of Egypt.

Read in other translations