When I tell the righteous man that he will surely live, and he then trusts in his righteousness and does wrong, none of his righteous deeds will be remembered. He will die for the wrong he has done.
In context
11Say to them: As I live — declares the Lord Yahweh — the death of the wicked gives me no pleasure; what I want is the wicked turning back from his way and living. Turn back, turn back from your evil ways! Why should you die, house of Israel? 12And you, son of man, say to your own people: The righteousness of the righteous will not save him on the day he rebels, and the wickedness of the wicked will not make him stumble on the day he turns back from his wickedness. The righteous cannot live by his righteousness on the day he sins. 13When I tell the righteous man that he will surely live, and he then trusts in his righteousness and does wrong, none of his righteous deeds will be remembered. He will die for the wrong he has done. 14And when I tell the wicked man that he will surely die, and he then turns back from his sin and does what is just and right — 15if the wicked man gives back what he took in pledge, repays what he seized, walks in the statutes of life and stops doing wrong — he will surely live; he will not die.