Ezekiel 33:13

Amplified Bible (AMP)
When I say to the righteous that he will most certainly live, and he trusts in his [previous acts of] righteousness [to save him] and commits injustice, none of his righteous deeds will be remembered; but he will die for his injustice that he committed.

Read Ezekiel 33:13 in other translations