Deuteronomy 31:14-22 - Joshua Commissioned To Lead Israel
14 And Jehovah said to Moses, Behold, your days are coming near to die. Call Joshua and present yourselves in the tabernacle of the congregation, and I shall charge him. And Moses and Joshua went. And they presented themselves in the tabernacle of the congregation. 15 And Jehovah appeared in the tabernacle in a pillar of a cloud. And the pillar of the cloud stood over the door of the tabernacle.
16 And Jehovah said to Moses, Behold, you shall sleep with your fathers. And this people shall rise up and go lusting after the gods of the strangers of the land into which they are going, into their midst. And they will forsake Me and break My covenant which I made with them. 17 Then My anger shall be kindled against them in that day, and I will forsake them. And I will hide My face from them, and they shall be devoured, and many evils and troubles shall befall them, so that they will say in that day, Have not these evils come on us because our God is not among us? 18 And I will surely hide My face in that day for all the evils which they have done, for they shall turn to other gods. 19 Now, therefore, write this song for you, and teach it to the sons of Israel. Put it in their mouths, so that this song may be a witness for Me against the sons of Israel. 20 For when I shall have brought them into the land which I swore to their fathers, the land that flows with milk and honey, and they shall have eaten and have become satisfied, and become fat, then turn to other gods and serve them, and provoke Me and break My covenant. 21 And it shall be when many evils and troubles have found them, this song shall testify against them as a witness. For it shall not be forgotten out of the mouths of their seed. For I know their imagination which they do, even now, before I have brought them into the land which I swore. 22 And Moses wrote this song the same day, and taught it to the sons of Israel.