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.
23 Then the Lord spoke to Joshua son of Nun and said to him, “Be confident and determined. You will lead the people of Israel into the land that I promised them, and I will be with you.”
24 Moses wrote God's Law in a book, taking care not to leave out anything.