Deuteronomy 31
3The LORD thy God, he will go over before thee; he will destroy these nations from before thee, and thou shalt possess them: and Joshua, he shall go over before thee, as the LORD hath spoken.
5And the LORD shall deliver them up before you, and ye shall do unto them according unto all the commandment which I have commanded you.
6Be strong and of a good courage, fear not, nor be affrighted at them: for the LORD thy God, he it is that doth go with thee; he will not fail thee, nor forsake thee.
7And Moses called unto Joshua, and said unto him in the sight of all Israel, Be strong and of a good courage: for thou shalt go with this people into the land which the LORD hath sworn unto their fathers to give them; and thou shalt cause them to inherit it.
8And the LORD, he it is that doth go before thee; he will be with thee, he will not fail thee, neither forsake thee: fear not, neither be dismayed.
11when all Israel is come to appear before the LORD thy God in the place which he shall choose, thou shalt read this law before all Israel in their hearing.
12Assemble the people, the men and the women and the little ones, and thy stranger that is within thy gates, that they may hear, and that they may learn, and fear the LORD your God, and observe to do all the words of this law;
13and that their children, which have not known, may hear, and learn to fear the LORD your God, as long as ye live in the land whither ye go over Jordan to possess it.
16And the LORD said unto Moses, Behold, thou shalt sleep with thy fathers; and this people will rise up, and go a whoring after the strange gods of the land, whither they go to be among them, and will forsake me, and break my covenant which I have made with them.
18And I will surely hide my face in that day for all the evil which they shall have wrought, in that they are turned unto other gods.
19Now therefore write ye this song for you, and teach thou it the children of Israel: put it in their mouths, that this song may be a witness for me against the children of Israel.
21And it shall come to pass, when many evils and troubles are come upon them, that this song shall testify before them as a witness; for it shall not be forgotten out of the mouths of their seed: for I know their imagination which they go about, even now, before I have brought them into the land which I sware.
22So Moses wrote this song the same day, and taught it the children of Israel.
23And he gave Joshua the son of Nun a charge, and said, Be strong and of a good courage: for thou shalt bring the children of Israel into the land which I sware unto them: and I will be with thee.
25that Moses commanded the Levites, which bare the ark of the covenant of the LORD, saying,
26Take this book of the law, and put it by the side of the ark of the covenant of the LORD your God, that it may be there for a witness against thee.
29For I know that after my death ye will utterly corrupt yourselves, and turn aside from the way which I have commanded you; and evil will befall you in the latter days; because ye will do that which is evil in the sight of the LORD, to provoke him to anger through the work of your hands.
30And Moses spake in the ears of all the assembly of Israel the words of this song, until they were finished.