Deuteronomy 31:22-24 Amplified Bible (AMP)

22. Moses wrote this song the same day and taught it to the Israelites. [Deut. 32:1-43.]

23. And [the Lord] charged Joshua son of Nun, Be strong and courageous and firm, for you shall bring the Israelites into the land which I swore to give them, and I will be with you.

24. And when Moses had finished writing the words of this law in a book to the very end,

Deuteronomy 31