Likutei Etzot, Patience 1
When a person knows that all his experiences are for his good, this aspect is a foretaste of the World to Come. One merits this through verbal confession before the Torah scholar. Then he will merit to know that everything that passes over him all the days of his life is all for his good, for it all comes from the love with which the Holy One, blessed be He, loves him. This is the main perfection of a person's da'at, that he not kick and not be confused by the vicissitudes that pass over him, but rather believe that everything is for his eternal good (Likutei Moharan I, Torah 4, §1, 3, 4).
View original Hebrew
כְּשֶׁאָדָם יוֹדֵעַ שֶׁכָּל מְאֹרְעוֹתָיו הֵם לְטוֹבָתוֹ, זֹאת הַבְּחִינָה הוּא מֵעֵין עוֹלָם הַבָּא. וְזֶה זוֹכִין עַל־יְדֵי וִדּוּי דְּבָרִים לִפְנֵי הַתַּלְמִיד חָכָם. וְאָז יִזְכֶּה לֵידַע שֶׁכָּל מַה שֶּׁעוֹבֵר עָלָיו כָּל יְמֵי חַיָּיו, הַכֹּל לְטוֹבָתוֹ, כִּי הַכֹּל מֵחֲמַת אַהֲבָה שֶׁהַקָּדוֹשׁ בָּרוּךְ הוּא אוֹהֵב אוֹתוֹ. וְזֶה עִקַּר שְׁלֵמוּת הַדַּעַת שֶׁל הָאָדָם, שֶׁלֹּא יִבְעַט וְלֹא יִתְבַּלְבֵּל מֵהַרְפַּתְקָאוֹת שֶׁעוֹבְרִין עָלָיו, רַק יַאֲמִין שֶׁהַכֹּל לְטוֹבָתוֹ הַנִּצְחִית: (לק"א סי' ד' אות א' ג' ד')