When the righteous turneth from his righteousness, and committeth iniquity, he shall even die thereby.
And you, son of man, say to your people, The righteousness of the righteous shall not deliver him when he transgresses; and as for the wickedness of the wicked, he shall not fall by it when he turns from his wickedness; and the righteous shall not be able to live by his righteousness when he sins.
Though I say to the righteous that he shall surely live, yet if he trusts in his righteousness and commits iniquity, none of his righteous deeds shall be remembered; but in the iniquity that he has committed he shall die.
When a righteous man turns away from his righteousness and commits iniquity, he shall die for it; for the iniquity which he has committed he shall die.
Again, when a wicked man turns away from the wickedness he has committed and does what is lawful and right, he shall save his life.
2 Peter 2:20-22
For if, after they have escaped the defilements of the world through the knowledge of our Lord and Savior Jesus Christ, they are again entangled in them and overpowered, the last state has become worse for them than the first.
For it would have been better for them never to have known the way of righteousness than after knowing it to turn back from the holy commandment delivered to them.
It has happened to them according to the true proverb, The dog turns back to his own vomit, and the sow is washed only to wallow in the mire.
but my righteous one shall live by faith, and if he shrinks back, my soul has no pleasure in him."