Śrīmad-Bhāgavatam · Text 4.8.33
Who is speaking and story frame
यस्य यद्दैवविहितं स तेन सुखदु:खयो: ।
आत्मानं तोषयन्देही तमस: पारमृच्छति ॥ ३३ ॥
yasya yad daiva-vihitaṁ
sa tena sukha-duḥkhayoḥ
ātmānaṁ toṣayan dehī
tamasaḥ pāram ṛcchati
One should try to keep himself satisfied in any condition of life — whether distress or happiness — which is offered by the supreme will. A person who endures in this way is able to cross over the darkness of nescience very easily.
Read Śrīla Prabhupāda's purport on Vedabase.io