Exodus 24:4

24:4 and Moses wrote down all the words of the Lord. Early in the morning he built an altar at the foot of the mountain and arranged twelve standing stones – according to the twelve tribes of Israel.

Deuteronomy 31:24-26

Anticipation of Disobedience

31:24 When Moses finished writing on a scroll the words of this law in their entirety, 31:25 he commanded the Levites who carried the ark of the Lord’s covenant, 31:26 “Take this scroll of the law and place it beside the ark of the covenant of the Lord your God. It will remain there as a witness against you,