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

Deuteronomy 24:18

And thou shalt remember that thou wast a bondman in the land of Egypt, and the Lord thy God redeemed thee from thence; therefore I charge thee to do this thing.

Read in other translations