Deuteronomy 19:17

19:17 then both parties to the controversy must stand before the Lord, that is, before the priests and judges who will be in office in those days.

Deuteronomy 31:26

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,