Exodus 18:25-26

25 aMoses chose able men out of all Israel and made them heads over the people, chiefs of thousands, of hundreds, of fifties, and of tens. 26And bthey judged the people at all times. Any hard case they brought to Moses, but any small matter they decided themselves.

Deuteronomy 16:18

Justice

18“You shall appoint cjudges and officers in all your towns that the Lord your God is giving you, according to your tribes, and they shall judge the people with righteous judgment.
Copyright information for ESV