We do not appoint a leader over the congregation unless he has a basket of reptiles hanging behind him
By extension: A leader can also be someone whose past is not spotless (originally referring to a person with a family background blemish, as opposed to a personal flaw).
("As Rabbi Yohanan said in the name of Rabbi Shimon ben Yehotzadak: We do not appoint a leader over the congregation unless a basket of reptiles hangs behind him, so that if he becomes arrogant, they say to him: Look behind you!" – Yoma 22b. Also: "He rose to greatness, a basket of reptiles hangs behind him, yet he grows arrogant and pursues honor." – I.L. Peretz, The Order of Dogs, etc.)
Translation
Expression (Hebrew)
אֵין מַעֲמִידִים פַּרְנָס עַל הַצִּבּוּר אֶלָּא אִם כֵּן קֻפָּה שֶׁל שְׁרָצִים תְּלוּיָה לוֹ מֵאֲחוֹרָיו
Definition (Hebrew)
בְּהַשְׁאָלָה: מַנְהִיג יָכוֹל לִהְיוֹת גַּם מִי שֶׁעֲבָרוֹ אֵינוֹ נָקִי, כִּי יִתָּכֵן וְהוּא בָּקִי בְּעִנְיְנֵי הָעוֹלָם וְיֵדַע אֵיךְ לְהִתְמוֹדֵד עִם קְשָׁיִים וְאֶתְגָּרִים קָשִׁים (בַּמָּקוֹר הַכַּוָּנָה לְאָדָם שֶׁיֵּשׁ דֹּפִי בְּיִחוּס הַמִּשְׁפַּחְתִּי שֶׁלּוֹ, לְהַבְדִּיל מִדֹּפִי בּוֹ עַצְמוֹ).
("דְּאָמַר רַבִּי יוֹחָנָן מִשּׁוּם רַבִּי שִׁמְעוֹן בֶּן יְהוֹצָדָק: אֵין מַעֲמִידִין פַּרְנָס עַל הַצִּבּוּר אֶלָּא אִם כֵּן קֻפָּה שֶׁל שְׁרָצִים תְּלוּיָה לוֹ מֵאֲחוֹרָיו, שֶׁאִם תָּזוּחַ דַּעְתּוֹ עָלָיו,אוֹמְרִין לוֹ:חֲזֹר לַאֲחוֹרֶיךָ"-יוֹמָא כב ע"ב, וְכֵן:"עָלָה לִגְדֻלָּה,קֻפָּה שֶׁל שְׁרָצִים תְּלוּיָה לוֹ מֵאֲחוֹרָיו,וְהוּא מִתְיַהֵר,וְרוֹדֵף אַחֵר הַכָּבוֹד"- י.ל.פֶּרֶץ/ סֵדֶר שֶׁל כְּלָבִים, נָא)