Meaning
Supreme God Krishna spoke
One who in this human body, before leaving it, can withstand the surges of lust and anger is indeed on the path of Yoga and is happy. (5:23)
Sanskrit
श्रीभगवान् उवाच
शक्नोतीहैव यः सोढुं प्राक्शरीरविमोक्षणात् ।
कामक्रोधोद्भवं वेगं स युक्तः स सुखी नरः॥
Word-by-word
शक्नोति इह एव यः सोढुम् प्राक्-शरीर-वि-मोक्षणात्का
म-क्रोध-उद्-भवम् वेगम्— सः युक्तः, सः सुखी नरः।