(21) You shall also seek out from among all the people capable men who fear God, trustworthy men who spurn ill-gotten gain. Set these over them as chiefs of thousands, hundreds, fifties, and tens....
(13) Pick from each of your tribes men who are wise, discerning, and experienced, and I will appoint them as your heads.
(א) אֵין מַעֲמִידִין בְּסַנְהֶדְרִין בֵּין בִּגְדוֹלָה בֵּין בִּקְטַנָּה אֶלָּא אֲנָשִׁים חֲכָמִים וּנְבוֹנִים. מֻפְלָגִין בְּחָכְמַת הַתּוֹרָה בַּעֲלֵי דֵּעָה מְרֻבָּה. יוֹדְעִים קְצָת מִשְּׁאָר חָכְמוֹת כְּגוֹן רְפוּאוֹת וְחֶשְׁבּוֹן וּתְקוּפוֹת וּמַזָּלוֹת וְאִצְטַגְנִינוּת וְדַרְכֵי הַמְעוֹנְנִים וְהַקּוֹסְמִים וְהַמְכַשְּׁפִים וְהַבְלֵי עֲבוֹדָה זָרָה וְכַיּוֹצֵא בְּאֵלּוּ כְּדֵי שֶׁיִּהְיוּ יוֹדְעִים לָדוּן אוֹתָם.
(ג) אֵין מַעֲמִידִין בְּכָל הַסַּנְהֶדְרִין לֹא זָקֵן מֻפְלָג בְּשָׁנִים ... וְלֹא מִי שֶׁאֵין לוֹ בָּנִים כְּדֵי שֶׁיְּהֵא רַחֲמָן:
(ז) בֵּית דִּין שֶׁל שְׁלֹשָׁה אַף עַל פִּי שֶׁאֵין מְדַקְדְּקִין בָּהֶן בְּכָל אֵלּוּ הַדְּבָרִים צָרִיךְ שֶׁיְּהֵא בְּכָל אֶחָד מֵהֶן שִׁבְעָה דְּבָרִים וְאֵלּוּ הֵן.
חָכְמָה. וַעֲנָוָה. וְיִרְאָה. וְשִׂנְאַת מָמוֹן. וְאַהֲבַת הָאֱמֶת. וְאַהֲבַת הַבְּרִיּוֹת לָהֶן. וּבַעֲלֵי שֵׁם טוֹב.
(1) Only wise and intelligent men, who are eminent in Torah scholarship and possess extensive knowledge, should be appointed members of either the Great or the Small Sanhedrin. They should be somewhat aware of such branches as medicine, mathematics, astronomy, ... methods of soothsayers, augurs and wizards as well as idolatrous superstitions, and the like, in order to be competent in dealing with them.— —
(3) A man who is advanced in years ... or one who is childless must not be appointed a member of any Sanhedrin, since he is required to be compassionate.
(7) Although we do not insist upon all these requirements in the case of a court-of-three, nevertheless it is desirable that each of the judges should be endowed with the following qualifications:
wisdom, humility, reverence, disdain of gain, love of truth, loved by fellow men, and of a good reputation...
(Deuteronomy Rabbah 1:10)