By cultivating attitudes of friendliness toward the happy, compassion for the unhappy, delight in the virtuous, and resilience to the unpleasant, the mind retains its undisturbed calmness.
मैत्रीकरुणामुदितोपेक्षाणां सुखदुःखपुण्यापुण्यविषयाणां भावनातश्चित्तप्रसादनम्॥३३॥
maitrī-karuṇā-muditopekṣāṇāṁ sukha-duḥkha-punyāpunya-viṣayāṇāṁ bhāvanātaś citta-prasādanam