Chapter 14 · The Three Qualities · Krishna said
Bhagavad Gita 14.24 — Even in all conditions
समदुःखसुखः स्वस्थः समलोष्टाश्मकाञ्चनः। तुल्यप्रियाप्रियो धीरस्तुल्यनिन्दात्मसंस्तुतिः ॥
samaduḥkhasukhaḥ svasthaḥ samaloṣṭāśmakāñcanaḥ | tulyapriyāpriyo dhīrastulyanindātmasaṃstutiḥ ||
Meaning
He is the same in pleasure and pain, rests in the Self, and sees a lump of earth, a stone and gold as equal. He is steady, and remains even toward the pleasant and unpleasant, toward blame and praise.