Deuteronomy 31:14-22 - Joshua Commissioned To Lead Israel

14 Then Jehovah said to Moses: Behold, the time for you to die is near. Call Joshua, and present yourselves at the tent of meeting, that I may commission him. So Moses and Joshua went and presented themselves at the tent of meeting. 15 Jehovah appeared in the tent in a pillar of cloud. The pillar of cloud stood at the doorway of the tent.

16 Jehovah said to Moses: You are about to lie down with your fathers in death. This people will arise and play the harlot with the strange gods of the land. They will plunge into the midst of it. They will forsake me and break my covenant that I made with them. 17 My anger will be kindled against them in that day. I will abandon them and hide my face from them. They will be consumed by many evils and troubles. They will say in that day: 'Is it because our God is not among us that these evils have come upon us?' 18 I will surely hide my face in that day because of all the evil they will do. They will turn to other gods. 19 Write this song for yourselves, and teach it to the sons of Israel. Put it on their lips, so that this song may be a witness for me against the sons of Israel. 20 When I bring them into the land flowing with milk and honey, which I swore to their fathers, and they have eaten and are satisfied and become prosperous, then they will turn to other gods and serve them, and spurn me and break my covenant. 21 Then it will happen, when many evils and troubles have come upon them, that this song will testify before them as a witness. It shall not be forgotten from the lips of their descendants. I know the intent they are developing today, before I have brought them into the land that I swore. 22 So Moses wrote this song the same day, and taught it to the sons of Israel.