श्रीमद्वाल्मीकिरामायणे अयोध्याकाण्डे षडुत्तरशततमस्सर्गः (२-३ श्लोक)
Praising the impeccable character of ShriRaama, Bharata spoke the above shloka:
“O dear Brother! You are not shaken by grief during difficulties. Neither are You overwhelmed by happiness in comforts/luxuries/victories. Even though You are Yourself a scholar of outstanding quality, You always approach elders with humility and obtain clarifications from them”.
Note that Bharata is not claiming that ShriRaama does not have grief or happiness (if so, then ShriRaama cannot be a Vishnu avatar in human form!). The important point is not being affected adversely because of grief or happiness. Also, humility is the most beautiful ornament a scholar can have.