Deuteronomy 17:10

And you shall accept whatever they will say, those who preside in the place which the Lord will choose, and whatever they will teach you

Other versions

King James Version

And thou shalt do according to the sentence, which they of that place which the LORD shall choose shall shew thee; and thou shalt observe to do according to all that they inform thee:

English Standard Version

Then you shall do according to what they declare to you from that place that the LORD will choose. And you shall be careful to do according to all that they direct you.

New International Version

You must act according to the decisions they give you at the place the LORD will choose. Be careful to do everything they direct you to do.