Deuteronomy 17:18 CSB

18 When he is seated on his royal throne, he is to write a copy of this instruction for himself on a scroll in the presence of the Levitical priests.