Deuteronomy 17:18

Thomson(i) 18 And when he is settled in his government, he shall write for himself this repetition of the law in a book, from that which is in the custody of the priests, the Levites.