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

Deuteronomy 24:22

And thou shalt remember that thou wast a bondman in the land of Egypt: therefore I command thee to do this thing.

Read in other translations