"If a case is too difficult for you-concerning bloodshed, lawsuits, or assaults-cases disputed at your gates, you must go up to the place the Lord your God chooses.
References for Deuteronomy 17:8
You are to go to the Levitical priests and to the judge who presides at that time. Ask, and they will give you a verdict in the case.
You must abide by the verdict they give you at the place the Lord chooses. Be careful to do exactly as they instruct you.
You must abide by the instruction they give you and the verdict they announce to you. Do not turn to the right or the left from the decision they declare to you.
The person who acts arrogantly, refusing to listen either to the priest who stands there serving the Lord your God or to the judge, must die. You must purge the evil from Israel.
Then all the people will hear [about it], be afraid, and no longer behave arrogantly.