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 21:5

21:5 Then the Levitical priests will approach (for the Lord your God has chosen them to serve him and to pronounce blessings in his name, and to decide every judicial verdict)