The LORD said to Moses, "Now the day of your death1 is near. Call Joshua2 and present yourselves at the Tent of Meeting, where I will commission him.3" So Moses and Joshua came and presented themselves at the Tent of Meeting.415
Then the LORD appeared at the Tent in a pillar of cloud, and the cloud stood over the entrance to the Tent.516
And the LORD said to Moses: "You are going to rest with your fathers,6 and these people will soon prostitute7 themselves to the foreign gods of the land they are entering. They will forsake8 me and break the covenant I made with them.
On that day I will become angry9 with them and forsake10 them; I will hide11 my face12 from them, and they will be destroyed. Many disasters13 and difficulties will come upon them, and on that day they will ask, 'Have not these disasters come upon us because our God is not with us?'1418
And I will certainly hide my face on that day because of all their wickedness in turning to other gods.
"Now write15 down for yourselves this song and teach it to the Israelites and have them sing it, so that it may be a witness16 for me against them.
When I have brought them into the land flowing with milk and honey, the land I promised on oath to their forefathers,17 and when they eat their fill and thrive, they will turn to other gods18 and worship them,19 rejecting me and breaking my covenant.2021
And when many disasters and difficulties come upon them,21 this song will testify against them, because it will not be forgotten by their descendants. I know what they are disposed to do,22 even before I bring them into the land I promised them on oath."
So Moses wrote23 down this song that day and taught it to the Israelites.