Ezekiel 33:18; Ezekiel 18:24

18 wWhen the righteous turns from his righteousness and does injustice, he shall die for it.

24 lBut 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? mNone of the righteous deeds that he has done shall be remembered; for nthe treachery of which he is guilty and the sin he has committed, for them he shall die.