Deuteronomy 17:8-11

ERV(i) 8 If there arise a matter too hard for thee in judgment, between blood and blood, between plea and plea, and between stroke and stroke, being matters of controversy within thy gates: then shalt thou arise, and get thee up unto the place which the LORD thy God shall choose; 9 and thou shalt come unto the priests the Levites, and unto the judge that shall be in those days: and thou shalt inquire; and they shall shew thee the sentence of judgment: 10 and thou shalt do according to the tenor of the sentence, which they shall shew thee from that place which the LORD shall choose; and thou shalt observe to do according to all that they shall teach thee: 11 according to the tenor of the law which they shall teach thee, and according to the judgment which they shall tell thee, thou shalt do: thou shalt not turn aside from the sentence which they shall shew thee, to the right hand, nor to the left.