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

Deuteronomy 4:25

And when thou shalt have begotten sons, and shalt have sons' sons, and ye shall have dwelt a long time on the land, and shall have transgressed, and made a graven image of any thing, and shall have done wickedly before the Lord your God to provoke him;

Read in other translations