Moses Prepares for Death
When Moses finishes his song, which he sang with Joshua, he instructs the people to take heed of everything he has said and to teach it their children. It is with these lessons that the people will cross the Jordan, and they will keep the nation prosperous in the land.
God then tells Moses to ascend Mount Nebo so that he may overlook the land of Israel before he dies. Just as Aaron died upon a mountain, God tells Moses he shall, too, and for the same reason: because the two brothers sinned against God at Meribath-kadesh, neither merited to enter the land with the nation.
Virtual Classroom Discussion
Why do you think Joshua sang the song with Moses? If you look back at the previous portion, where the song is commanded (31:16-22), he is not included in the command, nor do the introductory comments note that Joshua participated (31:30).