Moses encourageth the people, and Joshua. He delivereth the law to the priests to be read by them every seventh year to the people. Moses and Joshua appear before God. God telleth Moses of the people's future apostasy, and the consequent evils, and giveth him a song to testify against them. Joshua receiveth a charge. Moses delivereth the book of the law to the Levites to keep, and calleth together the elders and officers to hear the song.