Deuteronomy 31:16-22

Rotherham(i) 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 today, 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.