Ezekiel 18:26

For when the just man turns himself away from his justice, and commits iniquity, he shall die by this; by the injustice that he has worked, he shall die

Other versions

King James Version

When a righteous man turneth away from his righteousness, and committeth iniquity, and dieth in them; for his iniquity that he hath done shall he die.

English Standard Version

When a righteous person turns away from his righteousness and does injustice, he shall die for it; for the injustice that he has done he shall die.

New International Version

If a righteous man turns from his righteousness and commits sin, he will die for it; because of the sin he has committed he will die.