16 The Lord said to Moses, “You will soon die, and after your death the people will become unfaithful to me and break the covenant that I made with them. They will abandon me and worship the pagan gods of the land they are about to enter.
17 When that happens, I will become angry with them; I will abandon them, and they will be destroyed. Many terrible disasters will come upon them, and then they will realize that these things are happening to them because I, their God, am no longer with them.
18 And I will refuse to help them then, because they have done evil and worshipped other gods.
19 “Now, write down this song. Teach it to the people of Israel, so that it will stand as evidence against them.
20 I will take them into this rich and fertile land, as I promised their ancestors. There they will have all the food they want, and they will live comfortably. But they will turn away and worship other gods. They will reject me and break my covenant,
21 and many terrible disasters will come on them. But this song will still be sung, and it will stand as evidence against them. Even now, before I take them into the land that I promised to give them, I know what they are thinking.”
22 That same day Moses wrote down the song and taught it to the people of Israel.