ספר המדות, A Righteous Person / Part I A Righteous Person / Part I · קט
Sefer HaMiddot 2120
קט. מִי שֶׁאֵין לוֹ שׁוּם הִרְהוּרֵי עֲבוֹדָה זָרָה, הוּא מִשְׁתּוֹקֵק תָּמִיד לְהַצִּיל אֶת הַצַּדִּיקִים.
109. One who does not have a trace of thoughts of idolatry, he constantly longs to save the tzaddikim. (t.n. As the commentaries do not provide any citation, I suggest the same verse from the previous item, which is actually preceded with a verse describing how G-d has complete knowledge of one's thoughts, thus we have a person who has complete faith in G-d without any trace of idolatry, and he is, savior of the just -- always looking out to save the just. There are many other places to learn this from, e.g. in Kings 1 chapter 18 the scriptures tell us how the Prophet Ovadia was very G-d fearing -- which is a trait of the heart, and if he was very much so, that means it was without a trace of idolatry, and the verse continues to describe how Ovadia saved and sustained the prophets, and Ovadia actually tells this to the Prophet Elijah to prove to Elijah that his interest is to help the tzaddikim).