Deut 16: 18

(KJV)

Judges and officers shalt thou make thee in all thy gates, which the Lord thy God giveth thee, throughout thy tribes: and they shall judge the people with just judgment.
(NASB2020)
“You shall appoint for yourself judges and officers in all your
Lit gates
towns which the Lord your God is giving you, according to your tribes, and they shall judge the people with righteous judgment.
(NET2full)
You must appoint judges and civil servants
tn The Hebrew term וְשֹׁטְרִים (veshoterim), usually translated “officers” (KJV, NCV) or “officials” (NAB, NIV, NRSV, NLT), derives from the verb שֹׁטֵר (shoter, “to write”). The noun became generic for all types of public officials. Here, however, it may be appositionally epexegetical to “judges,” thus resulting in the phrase, “judges, that is, civil officers,” etc. Whoever the שֹׁטְרִים are, their task here consists of rendering judgments and administering justice.
for each tribe in all your villages
tn Heb “gates.”
that the Lord your God is giving you, and they must judge the people fairly.
tn Heb “with judgment of righteousness”; ASV, NASB “with righteous judgment.”
Copyright information for KJV, NASB2020, NET2full