Deuteronomy 17:18 in the King James Version
And it shall be, when he sitteth upon the throne of his kingdom, that he shall write him a copy of this law in a book out of that which is before the priests the Levites:
Context
17 He shall not multiply wives to himself, that his heart not turn away. He shall not greatly multiply to himself silver and gold.
18 It shall be, when he sits on the throne of his kingdom, that he shall write himself a copy of this law in a book, out of that which is before the Levitical priests.
19 It shall be with him, and he shall read from it all the days of his life, that he may learn to fear the LORD his God, to keep all the words of this law and these statutes, to do them;