Bhagavad Gita, Chapter 2, Verse 48

योगस्थः कुरु कर्माणि सङ्गं त्यक्त्वा धनञ्जय । सिद्ध्यसिद्ध्योः समो भूत्वा समत्वं योग उच्यते

yogasthaḥ kuru karmāṇi saṅgaṃ tyaktvā dhanañjaya | siddhyasiddhyoḥ samo bhūtvā samatvaṃ yoga ucyate

Translation

Steadfast in devotion do thy works, O Dhanañjaya, casting off attachment, being the same in success and failure. Evenness is called Yoga.

— Alladi Mahadeva Sastri

Word meanings

yogasthaḥ
yoga-seated
kuru
perform
karmāṇi
actions
saṅgam
attachment
tyaktvā
having abandoned
dhanañjaya
O Dhanañjaya
siddhyasiddhyoḥ
in success, and, in non-success, and
samaḥ
the same
bhūtvā
having become
samatvam
equality
yogaḥ
yoga
ucyate
is called

Śaṅkarācārya's commentary

Standing firm in this Yoga, perform thy works, casting off all attachment to their fruits. Be the same in success and failure — in attainment and non-attainment of the desired result. This evenness of mind (samatva) is what is here called Yoga. The Yoga of works is not a particular act but the inner orientation of evenness: he who acts thus is yoked (yukta) even in the midst of action.