The principle for paying for one’s sins is found in every religion.
Do not be deceived, God is not mocked [He will not allow Himself to be ridiculed, nor treated with contempt nor allow His precepts to be scornfully set aside]; for whatever a man sows, this and this only is what he will reap. – Galatians 6:7
Buddhists and Hindus call this the law of karma. The effects of a principle or law can be overcome by a more powerful force, though.