18 I will turn away from them then. They have done wrong. They have turned to other gods.
19 “Now write down this song. And teach it to the Israelites. Then have them sing it. It will testify against them.
20 I will bring them into the land I promised to their ancestors. It is a land where much food grows. They will eat as much as they want and get fat. But then they will turn to other gods and serve them. They will reject me and break my agreement.
21 Then many troubles and terrible things will happen to them. And this song will testify against them. 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. Lead the people of Israel to the land I promised them. And I will be with you.”
24 Moses wrote all the words of the teachings in a book.