Kitzur Likutei Moharan I, 21:16
All the troubles, the sufferings, the exile and all the deficiencies that a person has, whether in livelihood or children or bodily health and the like, all of it is only in proportion to the deficiency of knowledge. And when knowledge is completed, then all the deficiencies are made whole, in the aspect of "If you have acquired knowledge, what do you lack? And if you lack knowledge, what have you acquired?" And even though there are those who are completely lacking in knowledge and have every good thing, in truth all that they have is nothing. And likewise the reverse: one who is complete in knowledge and has some deficiency, in truth the deficiency is nothing, for the main deficiency and completeness depend on knowledge.
View original Hebrew
כָּל הַצָּרוֹת וְהַיִּסּוּרִים וְהַגָּלוּת וְכָל הַחֶסְרוֹנוֹת שֶׁיֵּשׁ לָאָדָם הֵן בְּפַרְנָסָה אוֹ בָּנִים אוֹ בְּרִיאוּת הַגּוּף וְכַיּוֹצֵא בָּזֶה הַכּל הוּא רַק לְפִי עֵרֶךְ חֶסְרוֹן הַדַּעַת. וּכְשֶׁנִּשְׁלָם הַדַּעַת אֲזַי נִשְׁלָם כָּל הַחֶסְרוֹנוֹת, בִּבְחִינַת 'אִם דַּעַת קָנִיתָ מֶה חָסַרְתָּ וְאִם דַּעַת חָסַרְתָּ מַה קָּנִיתָ' . וְאַף שֶׁיֵּשׁ חֲסֵרִים לְגַמְרֵי מֵהַדַּעַת וְיֵשׁ לָהֶם כָּל טוּב בֶּאֱמֶת כָּל מַה שֶּׁיֵּשׁ לָהֶם אֵינוֹ כְּלוּם. וְכֵן לְהֵפֶךְ הַשָּׁלֵם בְּדַעַת שֶׁיֵּשׁ לוֹ חִסָּרוֹן בֶּאֱמֶת הַחִסָּרוֹן אֵינוֹ כְּלוּם כִּי עִקַּר הַחִסָּרוֹן וְהַשְּׁלֵמוּת תָּלוּי בַּדַּעַתRead this passage within Part I · Torah 21, in its full context