Deuteronomy 17:11 in the King James Version
According to the sentence of the law which they shall teach thee, and according to the judgment which they shall tell thee, thou shalt do: thou shalt not decline from the sentence which they shall shew thee, to the right hand, nor to the left.
Context
10 You shall do according to the decisions of the verdict which they shall give you from that place which the LORD chooses. You shall observe to do according to all that they shall teach you.
11 According to the decisions of the law which they shall teach you, and according to the judgment which they shall tell you, you shall do. You shall not turn away from the sentence which they announce to you, to the right hand, nor to the left.
12 The man who does presumptuously in not listening to the priest who stands to minister there before the LORD your God, or to the judge, even that man shall die. You shall put away the evil from Israel.