Deuteronomy 31:10-18
English Standard Version
Chapter 31
10And Moses commanded them, "At the end of every seven years, at the set time in the year of release, at the Feast of Booths, 11when all Israel comes to appear before the Lord your God at the place that he will choose, you shall read this law before all Israel in their hearing. 12Assemble the people, men, women, and little ones, and the sojourner within your towns, that they may hear and learn to fear the Lord your God, and be careful to do all the words of this law, 13and that their children, who have not known it, may hear and learn to fear the Lord your God, as long as you live in the land that you are going over the Jordan to possess."
14And the Lord said to Moses, "Behold, the days approach when you must die. Call Joshua and present yourselves in the tent of meeting, that I may commission him." And Moses and Joshua went and presented themselves in the tent of meeting.
15And the Lord appeared in the tent in a pillar of cloud. And the pillar of cloud stood over the entrance of the tent.
16And the Lord said to Moses, "Behold, you are about to lie down with your fathers. Then this people will rise and whore after the foreign gods among them in the land that they are entering, and they will forsake me and break my covenant that I have made with them.
17Then my anger will be kindled against them in that day, and I will forsake them and hide my face from them, and they will be devoured. And many evils and troubles will come upon them, so that they will say in that day, ‘Have not these evils come upon us because our God is not among us?’
18And I will surely hide my face in that day because of all the evil that they have done, because they have turned to other gods.