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

Deuteronomy 31:24

And it came to pass, when Moses had made an end of writing the words of this law in a book, until they were finished,

Read in other translations