Deuteronomy 31:22 ESV

22 So Moses wrote this song the same day and taught it to the people of Israel.