Read Ezekiel 33:13 Using Other Translations
When I shall say to the righteous, that he shall surely live; if he trust to his own righteousness, and commit iniquity, all his righteousnesses shall not be remembered; but for his iniquity that he hath committed, he shall die for it.
Though I say to the righteous that he shall surely live, yet if he trusts in his righteousness and does injustice, none of his righteous deeds shall be remembered, but in his injustice that he has done he shall die.
When I tell righteous people that they will live, but then they sin, expecting their past righteousness to save them, then none of their righteous acts will be remembered. I will destroy them for their sins.