Deuteronomy 31
21 Ref Then when evils and troubles without number have overtaken them, this song will be a witness to them, for the words of it will be clear in the memories of their children: for I see the thoughts which are moving in their hearts even now, before I have taken them into the land of my oath.
22 Ref So that same day Moses made this song, teaching it to the children of Israel.