Book of Deuteronomy

Deuteronomy 16:18

King James Version
18 Judges and officers shalt thou make thee in all thy gates, which the LORD thy God giveth thee, throughout thy tribes: and they shall judge the people with just judgment.