Shiva Purana
परिग्रहादृषीणां च देवानां परिग्रहात् । स्वयंभूतान्यथान्यानि लोकरक्षार्थमेव हि ४ ।
These temples whether self-risen or not, in view of their being accepted (as their frequent resort) by the sages and Devas are intended for the redemption of the people.
english translation
parigrahAdRSINAM ca devAnAM parigrahAt । svayaMbhUtAnyathAnyAni lokarakSArthameva hi 4 ।
hk transliteration by Sanscript