8If a case is too difficult for you to judge, whether the controversy within your gates is regarding bloodshed, lawsuits, or assaults, you must go up to the place the LORD your God will choose.
9You are to go to the Levitical priests and to the judge who presides at that time. Inquire of them, and they will give you a verdict in the case.
10You must abide by the verdict they give you at the place the LORD will choose. Be careful to do everything they instruct you,
11according to the terms of law they give and the verdict they proclaim. Do not turn aside to the right or to the left from the decision they declare to you.
12But the man who acts presumptuously, refusing to listen either to the priest who stands there to serve the LORD your God, or to the judge, must be put to death. You must purge the evil from Israel.
— Deuteronomy 17:8-12