Ezekiel 18:24-26 Christian Standard Bible (CSB)
24 But when a righteous person turns from his righteousness and acts unjustly, committing the same detestable acts that the wicked do, will he live? None of the righteous acts he did will be remembered. He will die because of the treachery he has engaged in and the sin he has committed.
25 “But you say, ‘The Lord’s way isn’t fair.’ Now listen, house of Israel: Is it my way that is unfair? Instead, isn’t it your ways that are unfair? 26 When a righteous person turns from his righteousness and acts unjustly, he will die for this. He will die because of the injustice he has committed.