Deuteronomy 31:9-13

9 And Moses wrote this law, and delivered it to the priests the sons of Levi, which bore the ark of the covenant of the LORD, and to all the elders of Israel.

10 And Moses commanded them, saying, At the end of every seven years, in the solemnity of the year of release, in the feast of tabernacles,

11 When all Israel is come to appear before the LORD your God in the place which he shall choose, you shall read this law before all Israel in their hearing.

12 Gather the people together, men and women, and children, and your stranger that is within your gates, that they may hear, and that they may learn, and fear the LORD your God, and observe to do all the words of this law:

13 And that their children, which have not known any thing, may hear, and learn to fear the LORD your God, as long as you live in the land where you go over Jordan to possess it.