Ezekiel 18:29-30
18:29 Yet the house of Israel says, ‘The Lord’s conduct is unjust!’ Is my conduct unjust, O house of Israel? Is it not your conduct that is unjust?
18:30 “Therefore I will judge each person according to his conduct, O house of Israel, declares the sovereign Lord. Repent and turn from all your wickedness; then it will not be an obstacle leading to iniquity.