Likutei Etzot, Repentance 11
The reason there are a number of scholars who study much Torah and do not return in repentance, and on the contrary, they oppose the tzaddikim, is because one studies not for its own sake but for the sake of honor and rabbinic office, to show off and to provoke. And then, through the Torah, more cunning enters him. For in the Torah there is the aspect of "The righteous walk in them, etc., but transgressors stumble in them." And then from the Oral Torah a mouth is made for him to speak arrogantly against the tzaddik, with pride and contempt. And there are great, choice tzaddikim who know from which laws of the Torah these bad combinations, which speak against the tzaddikim, were formed in them, and they raise up these combinations and make laws out of them again, etc. (as explained in the text itself, see there in Torah 12) (Likutei Moharan I, Torah 12, §1, 4).
View original Hebrew
מַה שֶׁיֵּשׁ כַּמָּה לוֹמְדִים שֶׁלּוֹמְדִים תּוֹרָה הַרְבֵּה וְאֵינָם חוֹזְרִים בִּתְשׁוּבָה, וְאַדְּרַבָּא, הֵם חוֹלְקִים עַל הַצַּדִּיקִים, זֶה מֵחֲמַת שֶׁלּוֹמֵד שֶׁלֹּא לִשְׁמָהּ כִּי אִם בִּשְׁבִיל כָּבוֹד וְרַבָּנוּת לְהִתְיַהֵר וּלְקַנְטֵר, וַאֲזַי עַל־יְדֵי הַתּוֹרָה נִכְנָס בּוֹ עַרְמִימִיּוֹת יוֹתֵר. כִּי בְּהַתּוֹרָה יֵשׁ בָּהּ בְּחִינַת צַדִּיקִים יֵלְכוּ וְכוּ' וּפוֹשְׁעִים יִכָּשְׁלוּ בָם, וַאֲזַי מֵהַתּוֹרָה שֶׁבְּעַל פֶּה נַעֲשָׂה לוֹ פֶּה לְדַבֵּר עַל הַצַּדִּיק עָתָק בְּגַאֲוָה וָבוּז. וְיֵשׁ צַדִּיקִים גְּדוֹלִים מֻבְחָרִים, שֶׁהֵם יוֹדְעִים מֵאֵיזֶה הֲלָכוֹת שֶׁל הַתּוֹרָה נַעֲשׂוּ אֶצְלָם אֵלּוּ הַצֵּרוּפִים רָעִים שֶׁמְּדַבְּרִים עַל הַצַּדִּיקִים, וְהֵם מַעֲלִים אֵלּוּ הַצֵּרוּפִים וְחוֹזְרִים וְעוֹשִׂים מֵהֶם הֲלָכוֹת וְכוּ' (כַּמְבֹאָר בִּפְנִים עַיֵּן שָׁם בְּסִימָן י"ב): (לק"א סי' י"ב אות א' ד')