Deuteronomy 16:18 RSV

18 "You shall appoint judges and officers in all your towns which the LORD your God gives you, according to your tribes; and they shall judge the people with righteous judgment.