Idea of karma in Mahābhārata
The essence of the Philosophy of karma in Mahābhārata is that the whole life is full of karmas. It is clearly acknowledged there that doing evil or righteous deeds, man essentially faces their evil or auspicious consequences in this world. Pleasing fruits of good karmas and painful fruits of evil actions is generally doubtlessly established. All kinds of creatures, wise, foolish, valiant and coward have to undergo the evil or auspicious results of the un-availed karmas of their previous birth in the present life. One gets the results of only actions done by oneself at various stages of life, no one faces the results of the karmas not performed by him. Mahābhārata supports this view at several places. It is stated there that one must behave the same way towards others as one desires for oneself.
Under all types of circumstances - relinquishment - charity, joy-pain, dear-hated etc. one must treat others as his own soul. Only he, who treats others as himself, enjoys the pleasures of paradise. The treatment one finds pleasing to oneself must be given to others. O! Yudhiṣtara! this is the distinction between righteousness and unrighteousness. The seer pronounces in Ṛṣibhāṣita Sūtra virtues and sins committed in the previous lives are the root causes of progeny.