Deuteronomy 17:8-9
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.
17:9 You will go to the Levitical priests and the judge in office in those days and seek a solution; they will render a verdict.