Deuteronomy 17:9

9 where you shall consult with the levitical priests and the judge who is in office in those days; they shall announce to you the decision in the case.

Deuteronomy 17:9 In-Context

7 The hands of the witnesses shall be the first raised against the person to execute the death penalty, and afterward the hands of all the people. So you shall purge the evil from your midst.
8 If a judicial decision is too difficult for you to make between one kind of bloodshed and another, one kind of legal right and another, or one kind of assault and another—any such matters of dispute in your towns—then you shall immediately go up to the place that the Lord your God will choose,
9 where you shall consult with the levitical priests and the judge who is in office in those days; they shall announce to you the decision in the case.
10 Carry out exactly the decision that they announce to you from the place that the Lord will choose, diligently observing everything they instruct you.
11 You must carry out fully the law that they interpret for you or the ruling that they announce to you; do not turn aside from the decision that they announce to you, either to the right or to the left.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.