Deuteronomy 17:8

If you have perceived that there is among you a difficult and doubtful matter of judgment, between blood and blood, cause and cause, leprosy and leprosy, and if you will have seen that the words of the judges within your gates vary: rise up and ascend to the place which the Lord your God will choose

Other versions

King James Version

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 into the place which the LORD thy God shall choose;

English Standard Version

"If any case arises requiring decision between one kind of homicide and another, one kind of legal right and another, or one kind of assault and another, any case within your towns that is too difficult for you, then you shall arise and go up to the place that the LORD your God will choose.

New International Version

If cases come before your courts that are too difficult for you to judge-whether bloodshed, lawsuits or assaults-take them to the place the LORD your God will choose.