You shall make judges and officers in all your gates, which Adonai your God gives you, according to your tribes; and they shall judge the people with righteous judgment.