Appoint judges and officials for yourselves within all your gates that Yahweh your God is giving you, tribe by tribe, and they are to judge the people with righteous judgment.
In context
16Three times a year all your males are to appear before Yahweh your God at the place he chooses: at the Festival of Unleavened Bread, the Festival of Weeks, and the Festival of Booths. No one is to appear before Yahweh empty-handed — 17each is to give as he is able, according to the blessing Yahweh your God has given you. 18Appoint judges and officials for yourselves within all your gates that Yahweh your God is giving you, tribe by tribe, and they are to judge the people with righteous judgment. 19Do not twist justice or show partiality, and do not accept a bribe, for a bribe blinds the eyes of the wise and distorts the words of the righteous. 20Justice, and justice alone, you must pursue, so that you may live and possess the land Yahweh your God is giving you.