Deuteronomy 17:18 TNIV

18 When he takes the throne1 of his kingdom, he is to write2 for himself on a scroll a copy3 of this law, taken from that of the Levitical priests.

References for Deuteronomy 17:18