Deuteronomy 16:18 TMB

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.