The works of Ādi Śaṅkarācārya

Viṣṇusahasranāmastotram

Verse 69

सूर्यो यथा सर्वलोकस्य चक्षु-र्न लिप्यते चाक्षुषैर्वाह्यदोषैः ।एकस्तथा सर्वभूतान्तरात्मान लिप्यते लोकदुःखेन बाह्यः ॥

In plain words

Just as the sun, which brings sight to the whole world, remains untouched by the flaws of the objects it illuminates, so the inner self of all beings remains completely untouched by worldly sorrow, ever transcending it.

Close to the Sanskrit

Just as the sun, the eye of the entire world, is not tainted by external blemishes seen by the eye, so the inner self of all beings, being external, is not tainted by the world's sorrow.