Deuteronomy 17:18

New American Standard Bible (NASB)
“Now it shall come about when he sits on the throne of his kingdom, he shall write for himself a copy of this law on a scroll [o]in the presence of the Levitical priests.

Read Deuteronomy 17:18 in other translations