Deuteronomy 31:1-2, 7-13, 15-17a, 19-20 (NRSV)

1 When Moses had finished speaking all these words to all Israel, 2 he said to them: “I am now one hundred twenty years old. I am no longer able to get about, and the LORD has told me, ‘You shall not cross over this Jordan.’

7 Then Moses summoned Joshua and said to him in the sight of all Israel: “Be strong and bold, for you are the one who will go with this people into the land that the LORD has sworn to their ancestors to give them; and you will put them in possession of it. 8 It is the LORD who goes before you. He will be with you; he will not fail you or forsake you. Do not fear or be dismayed.”

9 Then Moses wrote down this law, and gave it to the priests, the sons of Levi, who carried the ark of the covenant of the LORD, and to all the elders of Israel. 10 Moses commanded them: “Every seventh year, in the scheduled year of remission, during the festival of booths, 11 when 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. 12 Assemble the people—men, women, and children, as well as the aliens residing in your towns—so that they may hear and learn to fear the LORD your
God and to observe diligently all the words of this law, 13 and so 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 crossing over the Jordan to possess.”

15 and the LORD appeared at the tent in a pillar of cloud; the pillar of cloud stood at the entrance to the tent.

16 The LORD said to Moses, “Soon you will lie down with your ancestors. Then this people will begin to prostitute themselves to the foreign gods in their midst, the gods of the land into which they are going; they will forsake me, breaking my covenant that I have made with them. 17 My anger will be kindled against them in that day. I will forsake them and hide my face from them; they will become easy prey, and many terrible troubles will come upon them.

19 Now, therefore, write this song, and teach it to the Israelites; put it in their mouths, in order that this song may be a witness for me against the Israelites. 20 For when I have brought them into the land flowing with milk and honey, which I promised on oath to their ancestors, and they have eaten their fill and grown fat, they will turn to other gods and serve them, despising me and breaking my covenant.