Ezekiel 18:24

24 aBut when a righteous person turns away from his righteousness and does injustice and does the same abominations that the wicked person does, shall he live? bNone of the righteous deeds that he has done shall be remembered; for cthe treachery of which he is guilty and the sin he has committed, for them he shall die.

Ezekiel 33:13

13Though I say to the righteous that he shall surely live, yet dif 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.
Copyright information for ESV