Deuteronomy 17:8

Appeal to a Higher Court

17:8 If a matter is too difficult for you to judge – bloodshed, legal claim, or assault – matters of controversy in your villages – you must leave there and go up to the place the Lord your God chooses.

Deuteronomy 17:18

17:18 When he sits on his royal throne he must make a copy of this law on a scroll given to him by the Levitical priests.