Deuteronomy 17:9-12

CLV(i) 9 And you will come to the priests, the Levites, and to the judge who shall come to be in those days; they will inquire and tell you the word of judgment. 10 Then you must act in accordance with the word that they shall tell you from that place that Yahweh your Elohim shall choose. You must observe to act according to all that they shall direct you. 11 In accordance with the law by which they shall direct you and according to the judgment that they shall deliver to you, you shall act. You shall not withdraw from the word that they shall tell you, neither to the right nor left. 12 Yet the man who acts with arrogance by not hearkening at all to the priest (who is standing to minister in the name of Yahweh your Elohim) or to the judge, that man must die. Thus you will eradicate the evil from Israel,