22 That day Moses wrote down this song and taught it to the Israelites.
23 The Lord gave this command to Joshua, son of Nun: “Be strong and courageous, because you will bring the Israelites into the land that I swore to give them, and I will be with you.”
24 Finally, Moses finished writing all the words of these teachings in a book.
25 He gave this command to the Levites who carried the ark of the Lord’s promise:
26 “Take this Book of Teachings, and put it next to the ark of the promise of the Lord your God, where it will be a witness against you.
27 I know how rebellious you are. You are impossible to deal with. While I am alive and still with you, you are rebelling against the Lord. How much more rebellious will you be after I die?
28 Assemble all the leaders of your tribes and your officers in front of me. As they listen, I will speak these words and call on heaven and earth to testify against them.