Deuteronomy 31:29"For I know that after my death you will act corruptly and turn from the way which I have commanded you; and evil will befall you in the latter days, for you will do that which is evil in the sight of the LORD, provoking Him to anger with the work of your hands."

(30) And Moses spake . . . the words of this song.--The exodus of Israel begins and ends with a song of Moses. The song of Exodus 15 is usually referred to as the "Song of Moses," and is thought to be intended in Revelation 15:3-4. But there is a remarkable resemblance between Revelation 15:3 and Deuteronomy 32:3-4, which see.

And Moses spake in the ears of all the congregation of Israel,.... Not in the hearing of the whole body of the people, and every individual thereof; no man could be able to speak to such a numerous congregation, as that they should hear him; but in the hearing of their heads and representatives, the elders of their tribes and officers, ordered to be gathered together for this purpose, Deuteronomy 31:28,

the words of this song, until they were ended; which song is recorded in the following chapter, Deuteronomy 32:1.

31:23-30 The solemn delivery of the book of the law to the Levites, to be deposited in, or rather by the side, of the ark, is again related. The song which follows in the next chapter is delivered to Moses, and by him to the people. He wrote it first, as the Holy Spirit taught him; and then spake it in the hearing of all the people. Moses tells them plainly, I know that after my death ye will utterly corrupt yourselves. Many a sad thought, no doubt, it occasioned to this good man; but his comfort was, that he had done his duty, and that God would be glorified in their dispersion, if not in their settlement, for the foundation of God stands sure.