Bhagavad Gita Shloka 2.15 — Sankhya Yoga
यं हि न व्यथयन्त्येते पुरुषं पुरुषर्षभ।
समदुःखसुखं धीरं सोऽमृतत्वाय कल्पते।।2.15।।
Meaning
The person whom these dualities of pleasure and pain do not disturb, who remains steady and balanced in both — that wise person becomes fit for immortality.