21 "Many horrible troubles and hard times will come on them. Then the song I am giving you will be a witness against them. That is because the song will not be forgotten by their children and their children's children. I know what they are likely to do. I know it even before I bring them into the land I promised them with an oath."
22 So that day I wrote the song down. And I taught it to the people of Israel.
23 The Lord gave a command to Joshua, the son of Nun. He said, "Be strong and brave. You will bring the Israelites into the land I promised them with an oath. I myself will be with you."
24 I finished writing the words of that law in a scroll. I wrote them down from beginning to end.
25 Then I gave a command to the Levites who carried the ark of the covenant of the Lord. I said,
26 "Take this Scroll of the Law. Place it beside the ark of the covenant of the Lord your God. It will remain there as a witness against you.
27 I know how you refuse to obey the Lord. I know how stubborn you are. You have refused to obey him while I've been living among you. So you will certainly refuse to obey him after I'm dead!