Deuteronomy 17:8–9
Legal Decisions by Priests and Judges
8 “If any case arises requiring decision between one kind of homicide and another, one kind of legal right and another, or one kind of assault and another, any case within your towns that is too difficult for you, then you shall arise and go up to tthe place that the Lord your God will choose. 9 uAnd you shall come to the Levitical priests and to the judge who is in office in those days, and you shall consult them, and vthey shall declare to you the decision.
Deuteronomy 21:5
5 Then the priests, the sons of Levi, shall come forward, for the Lord your God has chosen athem to minister to him and to bless in the name of the Lord, and bby their word every dispute and every assault shall be settled.