Shemot / Exodus 18:21 · Pshat
וְאַתָּה תֶחֱזֶה מִכָּל־הָעָם אַנְשֵׁי־חַיִל יִרְאֵי אֱלֹהִים אַנְשֵׁי אֱמֶת שֹׂנְאֵי בָצַע וְשַׂמְתָּ עֲלֵהֶם שָׂרֵי אֲלָפִים שָׂרֵי מֵאוֹת שָׂרֵי חֲמִשִּׁים וְשָׂרֵי עֲשָׂרֹת׃
And you shall seek out from all the people capable men, who fear the Almighty, men of truth, who hate unjust gain, and set them over them as officers of thousands, officers of hundreds, officers of fifties and officers of tens.
Pshat פְּשָׁט
What a judge must be
When you choose someone for an important post, intelligence is not all that counts. Yitro (Jethro) names four qualities of a judge to Moshe (Moses), and Rashi explains each one.
Rashi: "seek out" with the spirit of holiness that is upon you. "Capable men" are rich men, who need not flatter or show favour. "Men of truth" are those whose word can be relied on, so they will be listened to. "Who hate unjust gain" are those ready to give up their own money in court.
How Rashi explain it
Rashi And you shall seek out
With the spirit of holiness that is upon you.
Rashi Capable men
Rich men, who need not flatter or show favour.
Rashi Men of truth
These are trustworthy men: it is worth relying on their words, and so their words will be listened to.
Rashi Who hate unjust gain
Who hate their own money in court. As the sages say: any judge from whom money is taken by a court is no judge.
Takeaway
"Capable men" (אַנְשֵׁי חַיִל): the word חַיִל means both strength and wealth. Rashi chooses wealth.
Rashi's last words are explained by the Talmud: a judge who can be forced by a court to pay cannot himself judge others (Bava Batra 58b). So a judge must "hate" his own money in court, that is, pay without a court.
Later Moshe chooses only "capable men" (Shemot / Exodus 18:25). The other qualities are not named, and the commentators ask why.