Deuteronomy 17:14; Deuteronomy 17:18

14 When you enter the land that God, your God, is giving you and take it over and settle down, and then say, "I'm going to get me a king, a king like all the nations around me,"
18 This is what must be done: When he sits down on the throne of his kingdom, the first thing he must do is make himself a copy of this Revelation on a scroll, copied under the supervision of the Levitical priests.