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

Viṣṇusahasranāmastotram

Verse 199

तस्माद्यतेत पुण्येषु य इच्छेन्महतीं श्रियम् ।यतितव्यं समत्वेन निर्वाणमपि चेच्छता ॥

In plain words

So: if you want great fortune, put your effort into what is good. And if what you want is nirvāṇa itself — then the effort you make is equanimity.

Close to the Sanskrit

Therefore let him strive in meritorious deeds, he who would desire great prosperity; and by one desiring even liberation, striving is to be done through equanimity.