Likutei Etzot, Philosophy and External Wisdom 4
Therefore every person must guard his intellect and his thought very carefully, so that he does not bring into his thought any external thought or any external wisdom. For all evils and all sins and blemishes come from a blemish of thought, God forbid, through letting external wisdoms and external thoughts enter the thought, God forbid. The essence of repentance and of the rectification for all sins is when one overcomes and drives all external thoughts out of his mind and intellect. For wisdom and intellect are the soul, which is the root of everything. When one sanctifies his intellect, that is, his soul, through this he raises up and returns everything to its root, and this is the essence of repentance. (ibid., §1, 2)
View original Hebrew
עַל־כֵּן צָרִיךְ כָּל אָדָם לִשְׁמֹר מְאֹד אֶת שִׂכְלוֹ וּמַחֲשַׁבְתּוֹ, שֶׁלֹּא יַכְנִיס בְּתוֹךְ מַחֲשַׁבְתּוֹ שׁוּם מַחֲשָׁבָה חִיצוֹנָה וְלֹא שׁוּם חָכְמָה חִיצוֹנָה, כִּי כָּל הָרָעוֹת וְכָל הַחֲטָאִים וְהַפְּגָמִים בָּאִים מִפְּגַם הַמַּחֲשָׁבָה חַ"ו, עַל־יְדֵי שֶׁמַּנִּיחִין לִכְנֹס בְּהַמַּחֲשָׁבָה חַ"ו, חָכְמוֹת חִיצוֹנִיּוֹת וּמַחֲשָׁבוֹת חִיצוֹנִיּוֹת. וְעִקַּר הַתְּשׁוּבָה וְהַתִּקּוּן עַל כָּל הָעֲווֹנוֹת, הוּא כְּשֶׁמִּתְגַּבֵּר לְגָרֵשׁ כָּל הַמַּחֲשָׁבוֹת חִיצוֹנִיּוֹת מִדַּעְתּוֹ וְשִׂכְלוֹ. כִּי הַחָכְמָה וְהַשֵּׂכֶל הוּא הַנְּשָׁמָה שֶׁהוּא שֹׁרֶשׁ הַכֹּל. וּכְשֶׁמְּקַדֵּשׁ שִׂכְלוֹ, הַיְנוּ נִשְׁמָתוֹ, עַל־יְדֵי זֶה מַגְבִּיהַּ וּמֵשִׁיב הַכֹּל לְשֹׁרְשׁוֹ, וְזֶה עִקַּר הַתְּשׁוּבָה: (שם אות א' ב')Read this passage within Philosophy and External Wisdom, in its full context