ספר המדות Improper Thoughts / Part II · א
Sefer HaMiddot 793
א. כְּשֶׁבָּא לָאָדָם הִרְהוּרֵי עֲבוֹדָה זָרָה, וְהוּא מְבַטֵּל אוֹתָם בְּמַחֲשֶׁבֶת אֱמוּנָתוֹ, אֲזַי נַעֲשֲֶׂה מֵהִרְהוּרָיו בְּחִינַת טַל שֶׁל בְּרָכָה. גַּם עַל־יְדֵי זֶה הַמּחַ שֶׁלּוֹ נִתְקַיֵּם וְאֵין נִתְבַּלְבֵּל לְעוֹלָם, אֲפִלּוּ כְּשֶׁנִּתְיַגֵּעַ הַמּחַ עַל־יְדֵי שֶׁמְּשׁוֹטֵט בְּאֵיזֶה עִיּוּן עָמק, אֲזַי הַקָּדוֹשׁ־בָּרוּךְ־הוּא מַזְמִין לוֹ מַחֲשָׁבוֹת הַנּוֹתְנִים נַיְחָא לְמחוֹ.
1. When thoughts of idol worship come to a person, and he nullifies them by thinking of his faith in [G-d], then his thoughts become an aspect of dew of blessing. Also, through this, his mind has fortitude and does not ever become confused; even when the mind becomes tired from pondering some deep concept, then the Holy One, Blessed be He, arranges for him thoughts which relax his mind.