Ezekiel 18:24-26 New Revised Standard Version (NRSV)
24 But when the righteous turn away from their righteousness and commit iniquity and do the same abominable things that the wicked do, shall they live? None of the righteous deeds that they have done shall be remembered; for the treachery of which they are guilty and the sin they have committed, they shall die.
25 Yet you say, “The way of the Lord is unfair.” Hear now, O house of Israel: Is my way unfair? Is it not your ways that are unfair? 26 When the righteous turn away from their righteousness and commit iniquity, they shall die for it; for the iniquity that they have committed they shall die.