Deuteronomy 17:18

18“And when he sits on the throne of his kingdom, ahe shall write for himself in a book a copy of this law, bapproved by
Hebrew from before
the Levitical priests.

Deuteronomy 31:24-26

24When Moses had finished dwriting the words of this law in a book to the very end, 25Moses commanded ethe Levites who carried the ark of the covenant of the Lord, 26Take this Book of the Law fand put it by the side of the ark of the covenant of the Lord your God, that it may be there for ga witness against you.
Copyright information for ESV