सुखदुःखे समे कृत्वा लाभालाभौ जयाजयौ।
ततो युद्धाय युज्यस्व नैवं पापमवाप्स्यसि॥38॥
sukhaduḥkhe same kṛtvā lābhālābhau jayājayau tato yuddhāya yujyasva naivaṃ pāpam avāpsyasi
Treat pleasure and pain, gain and loss, victory and defeat alike, and then get ready for battle. In this way you will not incur sin.
This verse prepares the ground for the karma yoga (the path of selfless action) that follows. The sense is understood to be that the fault of an action lies in the self-interest behind it. When the mind stays even in gain and loss, in winning and losing, duty is done with a clean heart. Whatever the result, the lesson is to keep the mind balanced.
sukhaduhkhe: pleasure and pain; same: alike; kritva: treating; labha-alabhau: gain and loss; jaya-ajayau: victory and defeat; tatah: then; yuddhaya: for battle; yujyasva: get ready; na: not; evam: in this way; papam: sin; avapsyasi: you will incur

