Deuteronomy 31:22
“Moses therefore wrote this song the same day, and taught it the children of Israel.”
For when I shall have brought them into the land which I sware unto their fathers, that floweth with milk and honey; and they shall have eaten and filled themselves, and waxen fat; then will they turn unto other gods, and serve them, and provoke me, and break my covenant.
And it shall come to pass, when many evils and troubles are befallen them, that this song shall testify against them as a witness; for it shall not be forgotten out of the mouths of their seed: for I know their imagination which they go about, even now, before I have brought them into the land which I sware.
Moses therefore wrote this song the same day, and taught it the children of Israel.
And he gave Joshua the son of Nun a charge, and said, Be strong and of a good courage: for thou shalt bring the children of Israel into the land which I sware unto them: and I will be with thee.
And it came to pass, when Moses had made an end of writing the words of this law in a book, until they were finished,
Counter-Arguments
The strongest case that this verse does not belong in this theme.

Cross-References
“And the Lord answered me, and said, Write the vision, and make it plain upon tables, that he may run that readeth it.”
“Now go, write it before them in a table, and note it in a book, that it may be for the time to come for ever and ever:”
“And Moses wrote this law, and delivered it unto the priests the sons of Levi, which bare the ark of the covenant of the Lord, and unto all the elders of Israel.”
“And Moses wrote this law, and delivered it unto the priests the sons of Levi, which bare the ark of the covenant of the Lord, and unto all the elders of Israel.”
“And Moses came and spake all the words of this song in the ears of the people, he, and Hoshea the son of Nun.”