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

Deuteronomy 31:18

And I will surely turn away my face from them in that day, because of all their evil doings which they have done, because they turned aside after strange gods.

Read in other translations