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

Deuteronomy 24:22

You shall remember that you were a slave in the land of Egypt. Therefore I command you to do this thing.

Read in other translations