Chapter 6 · The Yoga of Meditation · Krishna said
Bhagavad Gita 6.7 — Same in honour and insult
जितात्मनः प्रशान्तस्य परमात्मा समाहितः। शीतोष्णसुखदुःखेषु तथा मानापमानयोः ॥
jitātmanaḥ praśāntasya paramātmā samāhitaḥ | śītoṣṇasukhaduḥkheṣu tathā mānāpamānayoḥ ||
Meaning
For one who has mastered himself and is at peace, the mind stays fixed on the Supreme in cold and heat, pleasure and pain, honour and insult.