ספר המדות Haughtiness · טו
Sefer HaMiddot 477
טו. אֵין לְהִתְגָּאוֹת בְּהַשָּׂגוֹת גְּדוֹלוֹת אוֹ בְּמַעֲשִׂים טוֹבִים, כִּי הַכּל עַל־יְדֵי הַצַּדִּיק שֶׁבַּדּוֹר, וְהוּא אֵצֶל הַצַּדִּיק כְּעֵט אֵצֶל סוֹפֵר.
15. One should not find cause to be haughty due to brilliant perceptions or good deeds, for it all comes by way of the tzadik of the generation and one is merely by the tzadik like a pen by a scribe.