5:23
शक्नोतीहैव यः सोढुं प्राक्शरीरविमोक्षणात् ।
कामक्रोधोद्भवं वेगं स युक्तः स सुखी नरः ॥५- २३॥
shaknotiihaiwa yaH soDhuM praakshariirawimokShaNaat ।
kaamakrodhodbhawaM wegaM sa yuktaH sa sukhii naraH ॥५- २३॥
Source: Automatic ITRANS Transliteration
Who is able, here itself, before liberation from the body, to forbear
Urges arising from lust, anger, that is an adherent, that is a happy person.
Source: Milind S. Pandit
One who is able to withstand the impulse of lust and anger before death is a yogi, and a happy person.
Before giving up this present body, if one is able to tolerate the urges of the material senses and check the force of desire and anger, he is a yogi and is happy in this world.
Source: Bhagavad Gita As It Is