The law of karma is inevitable. But there are many ways by which we can escape from the chain of the law of causation and Karma Yoga is one of those ways.
Seek ye first the kingdom of God, and everything else shall be added unto you. This is the one great duty, this is renunciation. Live for an ideal, and leave no place in the mind for anything else.
-Swami Vivekananda