Creation is governed by certain laws, the law of karma is foremost among them. Vedic sages have spent lifetimes and written volumes on the importance of karma. What you give comes back to you manifold. The scientific community backs it up by saying, every action has an equal and opposite reaction. No one can evade the law of karma, it percolates down to every microcosm of our existence. No wonder the concept of karma can be traced back to every major religion of the world. To quote some examples:
CHRISTIANITY
Christian faith emphasizes on the fate of men on the last judgement based on the acts of mercy performed by them during their lifetime. To quote the Bible: “Do not be deceived: God cannot be mocked. A man reaps what he sows. Whoever sows to please their flesh, from the flesh will reap destruction; whoever sows to please the Spirit, from the Spirit will reap eternal life.” [New Testament, Galatians 6:7-8]
JUDAISM
The popular Hebrew phrase, midah k’neged midah, translates as ‘measure for measure’ and goes on to emphasize the Law of karma. Below are some quotes from religious texts: “Since you drowned (others, others) drowned you. And in the end, those that drowned you will be drowned.” [Pirkei Avot 2:6]
“Hail the just man, for he shall fare well; he shall eat the fruit of his works. Woe to the wicked man, for he shall fare ill; as his hands have dealt, so shall it be done to him.” [Isaiah 3:10-11]
ISLAM
The divine recompense for deeds matches the genus of deed, al-jaza’ min jinsil amal, is among the foremost principles of Islam. “Those who commit evil deeds are recompensed with evil, and those who do good deeds are recompensed with good.” [Tafsīr al-Ṭabarī 78:26]
“The servant should treat the creation as one would like to be treated by Allah. As one would like to be forgiven by Allah, let him forgive them. As one would like to be treated with forbearance by Allah, let him be forbearing with them. Indeed, the recompense is of the same genus as the deed.” [Tafsīr al-Sa’dī 42:20]
“Whoever does not show mercy will not receive mercy. Whoever does not forgive others will not be forgiven. Whoever does not pardon others will not be pardoned. Whoever does not protect others will not be protected.” [al-Adab al-Mufrad 366, Grade: Hasan]
“It is written in the Torah: As you judge others, so are you judged. As you reap, so shall you sow.” [al Zuhd li Abi Hātim 78]