17 Then I will become very angry at them, and I will leave them. I will turn away from them, and they will be destroyed. Many terrible things will happen to them. Then they will say, ‘It is because God is not with us that these terrible things are happening.’
18 I will surely turn away from them then, because they have done wrong and have turned to other gods.
19 “Now write down this song and teach it to the Israelites. Then have them sing it, because it will be my witness against them.
20 When I bring them into the land I promised to their ancestors, a fertile land, they will eat as much as they want and get fat. Then they will turn to other gods and serve them. They will reject me and break my Agreement.
21 Then when many troubles and terrible things happen to them, this song will testify against them, because the song will not be forgotten by their descendants. I know what they plan to do, even before I take them into the land I promised them.”
22 So Moses wrote down the song that day, and he taught it to the Israelites.
23 Then the Lord gave this command to Joshua son of Nun: “Be strong and brave, because you will lead the people of Israel to the land I promised them, and I will be with you.”