Deuteronomy 31:22-26
22 So Moses wrote down this song that day and taught it to the Israelites.
23 The Lord gave this command to Joshua son of Nun: “Be strong and courageous, for you will bring the Israelites into the land I promised them on oath, and I myself will be with you.”
24 After Moses finished writing in a book the words of this law from beginning to end,
25 he gave this command to the Levites who carried the ark of the covenant of the Lord:
26 “Take this Book of the Law and place it beside the ark of the covenant of the Lord your God. There it will remain as a witness against you.