Bhagavad Gita 9.28

शुभाशुभफलैरेवं मोक्ष्यसे कर्मबन्धनैः।संन्यासयोगयुक्तात्मा विमुक्तो मामुपैष्यसि ॥९.२८॥

śubhāśubhaphalairevaṃ mokṣyase karmabandhanaiḥsaṃnyāsayogayuktātmā vimukto māmupaiṣyasi

Thus, you shall be freed from the bonds of actions yielding good and evil fruits; with the mind steadfast in the Yoga of renunciation, and liberated, you shall come to Me.

गीता