Likutei Etzot, Prayer 76
For the most part a person cannot pray with longing and vitality as is fitting because of the many falls that he falls in his mind on account of his deeds that are not good. Therefore a person must revive himself before prayer by searching and seeking and finding in himself some good points. For certainly, however he may be, nevertheless he has certainly already done many, many mitzvot, and even though they are mixed with ulterior motives and much dross, nevertheless at least there are some good points in them. And through this he will revive and gladden himself, and through this he will be able to pray properly (see Strengthening, §26 and 27) (Likutei Moharan I, Torah 282).
View original Hebrew
עַל פִּי רֹב אֵין הָאָדָם יָכוֹל לְהִתְפַּלֵּל בְּחֵשֶׁק וְחִיּוּת כָּרָאוּי מֵחֲמַת רִבּוּי הַנְּפִילוֹת שֶׁנּוֹפֵל בְּדַעְתּוֹ מֵחֲמַת מַעֲשָׂיו אֲשֶׁר לֹא טוֹבִים. עַל־כֵּן צָרִיךְ הָאָדָם לְהַחֲיוֹת אֶת עַצְמוֹ קֹדֶם הַתְּפִלָּה עַל־יְדֵי שֶׁיְּחַפֵּשׂ וִיבַקֵּשׁ וְיִמְצָא בְּעַצְמוֹ אֵיזוֹ נְקוּדוֹת טוֹבוֹת. כִּי בְּוַדַּאי אֵיךְ שֶׁהוּא, אַף עַל פִּי כֵן בְּוַדַּאי כְּבָר עָשָׂה כַּמָּה וְכַמָּה מִצְווֹת, וְאַף עַל פִּי שֶׁהֵם מְעֹרָבִים בִּפְנִיּוֹת וּפְסוֹלֶת הַרְבֵּה, אַף עַל פִּי כֵן עַל כָּל פָּנִים יֵשׁ בָּהֶם כַּמָּה נְקוּדוֹת טוֹבוֹת. וְעַל־יְדֵי זֶה יְחַיֶּה וִישַׂמַּח אֶת עַצְמוֹ, וְעַל־יְדֵי זֶה יוּכַל לְהִתְפַּלֵּל כָּרָאוּי (עַיֵּן הִתְחַזְּקוּת אוֹת כ"ו וכ"ז): (לק"א סי' רפ"ב)