Deuteronomy 31:18-28

18 and I certainly hide My face in that day for all the evil which it hath done, for it hath turned unto other gods.
19 `And now, write for you this song, and teach it the sons of Israel; put it in their mouths, so that this song is to Me for a witness against the sons of Israel,
20 and I bring them in unto the ground which I have sworn to their fathers -- flowing with milk and honey, and they have eaten, and been satisfied, and been fat, and have turned unto other gods, and they have served them, and despised Me, and broken My covenant.
21 `And it hath been, when many evils and distresses do meet it, that this song hath testified to its face for a witness; for it is not forgotten out of the mouth of its seed, for I have known its imagining which it is doing to-day, before I bring them in unto the land of which I have sworn.'
22 And Moses writeth this song on that day, and doth teach it the sons of Israel,
23 and He commandeth Joshua son of Nun, and saith, `Be strong and courageous, for thou dost bring in the sons of Israel unto the land which I have sworn to them, and I -- I am with thee.'
24 And it cometh to pass, when Moses finisheth to write the words of this law on a book till their completion,
25 that Moses commandeth the Levites bearing the ark of the covenant of Jehovah, saying,
26 `Take this Book of the Law, and thou hast set it on the side of the ark of the covenant of Jehovah your God, and it hath been there against thee for a witness;
27 for I -- I have known thy rebellion, and thy stiff neck; lo, in my being yet alive with you to-day, rebellious ye have been with Jehovah, and also surely after my death.
28 `Assemble unto me all the elders of your tribes, and your authorities, and I speak in their ears these words, and cause to testify against them the heavens and the earth,

Deuteronomy 31:18-28 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 31

Moses being old, and knowing he should quickly die, and must not go over Jordan with the people of Israel, acquaints them with it, and encourages them and Joshua to go over notwithstanding, and not be afraid of their enemies, since the Lord would go with them, and deliver them into their hands, De 31:1-8; and having written the law, he delivered it to the priests, and ordered that it should be read at the end of every seven years before all the people, that they and theirs might learn it, and fear the Lord, De 31:9-13; and whereas the death of Moses was very near, and the Lord foreseeing the people would quickly fall into idolatry, which would bring great calamities upon them, he directed Moses to write a song, which should be a witness for him, and against them, in ages to come; which Moses accordingly did, De 31:14-22; and Moses having given a charge to Joshua, and finished the writing of the law in a book, gave it to the Levites to put it in the side of the ark, De 31:23-27; and then ordered the chief of the tribes to be gathered together, that he might deliver the song, which by the direction and under the inspiration of God he had written, De 31:28-30; which song is recorded in De 32:1-43.

Young's Literal Translation is in the public domain.