Kitzur Likutei Moharan I, 21:21
The essence of a person is the intellect and the knowledge. And therefore, in the place where the intellect thinks, there is the whole person. Therefore one must flee very much from an evil thought, so that he does not acquire his place there, God forbid. And one must compel and force himself to good thoughts, so that he will merit to know and attain in the knowledge of God, blessed be He, and it follows that he is actually there and is included in Him, blessed be He. And the more he knows, the more he is included in his root, that is, in Him, blessed be He. And he merits eternal life, and he merits completeness of knowledge and is saved from all the deficiencies, as mentioned above.
View original Hebrew
עִקַּר הָאָדָם הוּא הַשֵׂכֶל וְהַדַּעַת, וְעַל כֵּן בַּמָּקוֹם שֶׁחוֹשֵׁב הַשֵׂכֶל שָׁם כָּל הָאָדָם עַל כֵּן צָרִיךְ לִבְרחַ מְאד מִמַּחֲשָׁבָה רָעָה כְּדֵי שֶׁלּא יִקְנֶה מְקוֹמוֹ שָׁם חַס וְשָׁלוֹם. וְצָרִיךְ לָכף וּלְהַכְרִיחַ אֶת עַצְמוֹ לְמַחֲשָׁבוֹת טוֹבוֹת כְּדֵי שֶׁיִּזְכֶּה לֵידַע וּלְהַשִׂיג בִּידִיעַת הַשֵּׁם יִתְבָּרַךְ וְנִמְצָא שֶׁהוּא שָׁם מַמָּשׁ וְנִכְלָל בּוֹ יִתְבָּרַךְ. וְכָל מַה שֶּׁיּוֹדֵעַ יוֹתֵר הוּא נִכְלָל יוֹתֵר בְּשָׁרְשׁוֹ דְּהַיְנוּ בּוֹ יִתְבָּרַךְ. וְזוֹכֶה לְחַיִּים נִצְחִיִּים וְזוֹכֶה לִשְׁלֵמוּת הַדַּעַת וְנִצּוֹל מִכָּל הַחֶסְרוֹנוֹת כַּנַּ"לRead this passage within Part I · Torah 21, in its full context