Passage
But when the righteous turneth away from his righteousness, and committeth iniquity, and doeth according to all the abominations that the wicked man doeth, shall he live? All his righteousness that he hath done shall not be mentioned: in his trespass that he hath trespassed, and in his sin that he hath sinned, in them shall he die.
Nearby Context
Ezekiel 18:22 All his transgressions that he hath committed, they shall not be mentioned unto him: in his righteousness that he hath done he shall live.
Ezekiel 18:23 Have I any pleasure at all that the wicked should die? saith the Lord GOD: and not that he should return from his ways, and live?
Ezekiel 18:24 But when the righteous turneth away from his righteousness, and committeth iniquity, and doeth according to all the abominations that the wicked man doeth, shall he live? All his righteousness that he hath done shall not be mentioned: in his trespass that he hath trespassed, and in his sin that he hath sinned, in them shall he die.
Ezekiel 18:25 Yet ye say, The way of the LORD is not equal. Hear now, O house of Israel; Is not my way equal? are not your ways unequal?
Ezekiel 18:26 When a righteous man turneth away from his righteousness, and committeth iniquity, and dieth in them; for his iniquity that he hath done shall he die.
Study Lenses
The verse centers on "righteous", "turneth", "away", "righteousness", "committeth", "iniquity", "doeth", and "abominations". It is saying that the verse draws attention to "righteous" and "turneth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 23's "Have I any pleasure at all that..." into verse 25's "Yet ye say The way of the...", so "righteous" and "turneth" belong inside that flow. In Ezekiel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "righteous" and "turneth" with trust shaped by these words, not by a vague optimism outside the passage.