“When the righteous
Turn away
From their righteousness,
They commit iniquity.
They shall die.
For the iniquity
That they have committed
They shall die.”
Yahweh was upset that the righteous turned away from their righteousness. They committed iniquities so that they would die. In case there was any doubt, Yahweh, via Ezekiel, repeated this death threat twice.