Deuteronomy 31:22

Moses therefore wrote this song the same day, and taught it the children of Israel.

Cross-reference

In Deuteronomy 31:9, Moses writes the law; here he writes the song — both are written records given to Israel.

In Deuteronomy 31:19, God commands Moses to write the song; here Moses does exactly that — command and fulfillment.

Deuteronomy 32:44 Historical context

In Deuteronomy 32:44, Moses recites the song he wrote here — a direct continuation of the same episode.