Deuteronomy 16:18

NIV
New International Version

18Appoint judges and officials for each of your tribes in every town the Lord your God is giving you, and they shall judge the people fairly.