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

14 Then said Yahweh unto Moses: Lo! thy days have drawn near that thou must die. Call Joshua and station yourselves in the tent of meeting, that I may command him. So Moses went, with Joshua, and they took their station in the tent of meeting. 15 And Yahweh appeared in the tent, in a pillar of cloud, - and the pillar of cloud stood, at the entrance of the tent.

16 Then said Yahweh unto Moses, Lo! thou art about to sleep with thy fathers, - and this people will rise up, and go away unchastely after the gods of the foreigners of the land into the midst of whom they are entering, and will forsake me and break my covenant which I solemnised with them. 17 Then will mine anger kindle upon them in that day, and I will forsake them and will hide my face from them and they shall be consumed, and many calamities and misfortunes shall find them out, - and they will say, in that day, Is it not because my God is not in my midst, that these calamities have found me out? 18 But, I, will utterly, hide, my face, in that day, because of all the wickedness which they have done, in that they have turned away unto other gods. 19 Now, therefore write ye for you this Song, and teach it unto the sons of Israel put it in their mouths, - that this Song may become for me a witness against the sons of Israel. 20 When I bring them upon the soil which I sware unto their fathers, flowing with milk and honey, and they shall eat and be filled and wax fat, then will they turn away unto other gods and serve them, and despise me, and break my covenant. 21 And it shall come to pass, when many calamities and misfortunes shall find them out, then shall this Song respond to their face, as a witness, for it shall not be forgotten out of the mouth of their seed, for I know their imagination, which they are forming to-day, ere yet I bring them into the land of which I sware unto their fathers. 22 Moses therefore wrote this Song on that day, - and taught it unto the sons of Israel.