ספר המדות Improper Thoughts / Part II · ה
Sefer HaMiddot 797
ה. כְּשֶׁבָּאִין לְאָדָם הִרְהוּרֵי עֲבוֹדָה זָרָה, יֵדַע שֶׁדָּנִין אוֹתוֹ לְמַעְלָה.
5. When thoughts of idol worship come to a person, he should know that they are judging him Above.
Sefer HaMiddot 797