and it is to remain with him; he is to read it all the days of his life, so that he may learn to fear Yahweh his God and keep all the words of this law and these statutes, and do them —
In context
17He must not acquire many wives for himself, or his heart will be led astray; nor must he acquire vast amounts of silver and gold. 18When he takes the throne of his kingdom, he is to write for himself a copy of this law on a scroll, in the presence of the Levitical priests, 19and it is to remain with him; he is to read it all the days of his life, so that he may learn to fear Yahweh his God and keep all the words of this law and these statutes, and do them — 20so that his heart is not lifted up above his brothers, and he does not turn from the commandment, to the right or to the left, so that he and his descendants may reign long over his kingdom in Israel.