The karma-yogi, giving up the results of his actions, attains everlasting peace. However, the selfish worker being attached, desires the results of his actions and therefore becomes ensnared.
Bhagavad Gita - Chapter 5 - Karma-Sannyasa Yoga - The Yoga of the Renunciation of Action
By mentally renouncing all actions, a sense-controlled living being can happily reside within the material body, neither acting nor causing others to act.
The Absolute Truth does not create anyone’s sense of proprietorship, one’s actions or the result of those actions. All this is enacted by the modes of material nature.
The Super Consciousness does not accept anyone’s pious deeds or their impious deeds. Living beings are bewildered because their knowledge is covered by ignorance.
Yet for those whose ignorance has been destroyed by knowledge of the self, their knowledge, like the rising sun, reveals the Supreme Truth.
Those whose ignorance has been removed by knowledge, whose intelligence is absorbed in the Supreme, who contemplate the Supreme, who are fixed in Him alone and who sing His glories, never take birth again.
A wise man sees a learned and humble brahmana, a cow, an elephant, a dog, a lowborn person and all other living beings as equal.
The cycle of birth and death has been conquered by those whose minds are fixed in meditating on the Absolute Truth, even while living in this world. Being faultless and possessing divine equanimity, they are situated in the Supreme.
Being situated in the Absolute Truth, having fixed intelligence and being devoid of ignorance, one who knows the Supreme never rejoices when he attains pleasant things, nor laments upon obtaining unpleasant things.
One whose mind is detached from external pleasures experiences the happiness found in the self. Connecting himself with the Absolute, he attains unlimited bliss.