Deuteronomy 31:19-29

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,
29 for I have known that after my death ye do very corruptly, and have turned aside out of the way which I commanded you, and evil hath met you in the latter end of the days, because ye do the evil thing in the eyes of Jehovah, to make Him angry with the work of your hands.'
Young's Literal Translation is in the public domain.