Deuteronomy 17:18

NIV
New International Version

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