Bhagwad Gita
Chapter 2, Verse 51
कर्मजं बुद्धियुक्ता हि फलं त्यक्त्वा मनीषिणः।
जन्मबन्धविनिर्मुक्ताः पदं गच्छन्त्यनामयम्।।2.51।।
The wise, engaged in devotional service, take refuge in the Lord, and free themselves from the cycle of birth and death by renouncing the fruits of action in the material world. In this way they can attain that state beyond all miseries.