Deuteronomy 31:19-22 - WEB
19
Now therefore write you this song for you, and teach you it the children of Israel: put it in their mouths, that this song may be a witness for me against the children of Israel.
20
For when I shall have brought them into the land which I swore to their fathers, flowing with milk and honey, and they shall have eaten and filled themselves, and grown fat; then will they turn to other gods, and serve them, and despise me, and break my covenant.
21
It shall happen, when many evils and troubles are come on them, that this song shall testify before them as a witness; for it shall not be forgotten out of the mouths of their seed: for I know their imagination which they frame this day, before I have brought them into the land which I swore.
22
So Moses wrote this song the same day, and taught it the children of Israel.
Full Chapter