Ezekiel 18:26

Amplified Bible (AMP)
When a righteous man turns away from his righteousness, and commits sin and dies because of it, it is for his sin which he has committed that he dies.

Read Ezekiel 18:26 in other translations