Deuteronomy 31:24 - 31:29
24 And it happened, when Moses finished writing the words of this law in a book until they were complete, 25 that Moses commanded the Levites who carried the ark of the covenant of Yahweh, saying, 26 “Take this book of the law and place it beside the ark of the covenant of Yahweh your God, that it may be there as a witness against you. 27 For I know your rebellion and your stiff-neck; behold, while I am still alive with you today, you have been rebellious against Yahweh; how much more, then, after my death? 28 Assemble to me all the elders of your tribes and your officers, that I may speak these words in their hearing and call the heavens and the earth to witness against them. 29 For I know that after my death you will act corruptly and turn away from the way which I have commanded you; and evil will befall you in the last days, for you will do that which is evil in the sight of Yahweh, provoking Him to anger with the work of your hands.”