Kitzur Likutei Moharan I, 27:9
And this aspect, to bring the whole world to all call upon the name of God, it is impossible to merit except through the rectification of the covenant. And when a person sees that thoughts of immorality come into his mind and he breaks his desire and diverts his mind from them, this is the main repentance and rectification for the blemish of the covenant that he blemished previously, each one according to his matter, for this is the aspect of the actual repentance of the scale (teshuvat ha-mishkal). Therefore he should not fall in his mind when he sees that very bad and disgraceful thoughts overpower him, for on the contrary, this is specifically his rectification and his repentance. For specifically through these thoughts coming upon him and his overcoming them, through this specifically is his main rectification and repentance, as mentioned above. And through this he brings out the sparks of holiness that fell through the blemish of the covenant, and then he merits the rectification of the covenant and merits to purify the wisdom and the voice, as mentioned above. And he merits peace, as mentioned above, through which one can draw the whole world to His service, blessed be He.
View original Hebrew
וּלְזאת הַבְּחִינָה לְהָבִיא כָּל הָעוֹלָם לִקְרא כֻּלָּם בְּשֵׁם ה' אִי אֶפְשָׁר לִזְכּוֹת כִּי אִם עַל יְדֵי תִּקּוּן הַבְּרִית. וּכְשֶׁרוֹאֶה אָדָם שֶׁבָּאִים עַל מַחֲשַׁבְתּוֹ הִרְהוּרֵי זְנוּת וְהוּא מְשַׁבֵּר תַּאֲוָותוֹ וּמַסִּיחַ דַּעְתּוֹ מֵהֶם זֶהוּ עִקַּר תְּשׁוּבָתוֹ וְתִקּוּנוֹ עַל פְּגַם הַבְּרִית שֶׁפָּגַם מִקּדֶם כָּל אֶחָד כְּפִי עִנְיָנוֹ, כִּי זֶהוּ בְּחִינַת תְּשׁוּבַת הַמִּשְׁקָל מַמָּשׁ. עַל כֵּן אַל יִפּל בְּדַעְתּוֹ כְּשֶׁרוֹאֶה שֶׁמִּתְגַּבְּרִין עָלָיו הִרְהוּרִים רָעִים וּמְגֻנִּים מְאד, כִּי אַדְּרַבָּה זֶה דַּיְקָא תִּקּוּנוֹ וּתְשׁוּבָתוֹ. כִּי דַּיְקָא עַל יְדֵי זֶה שֶׁבָּאִים עָלָיו אֵלּוּ הַהִרְהוּרִים וְהוּא מִתְגַּבֵּר עֲלֵיהֶם עַל יְדֵי זֶה דַּיְקָא הוּא עִקַּר תִּקּוּנוֹ וּתְשׁוּבָתוֹ כַּנַּ"ל. וּבָזֶה הוּא מוֹצִיא נִיצוֹצֵי הַקְּדֻשָּׁה שֶׁנָּפְלוּ עַל יְדֵי פְּגַם הַבְּרִית וַאֲזַי זוֹכֶה לְתִקּוּן הַבְּרִית וְזוֹכֶה לְזַכֵּךְ הַחָכְמָה וְהַקּוֹל כַּנַּ"ל. וְזוֹכֶה לְשָׁלוֹם כַּנַּ"ל שֶׁעַל יְדֵי זֶה יְכוֹלִים לְהַמְשִׁיךְ כָּל הָעוֹלָם לַעֲבוֹדָתוֹ יִתְבָּרַךְRead this passage within Part I · Torah 27, in its full context