In ancient Israel there was a saying, "Fathers have eaten green grapes, thus their children’s teeth are on edge." Children often reap the consequences of their parents actions, but God wants to banish this saying because with repentance and grace, God can always open up new possibilities.
Based on Ezekiel 18:1-10, 13b, 30-32:
The word of the Lord came to me: What do you mean by repeating this proverb concerning the land of Israel, ‘The parents have eaten sour grapes, and the children’s teeth are set on edge’? As I live, says the Lord God, this proverb shall no more be used by you in Israel. Know that all lives are mine; the life of the parent as well as the life of the child is mine: it is only the person who sins that shall die.
If a man is righteous and does what is lawful and right— if he does not eat upon the mountains or lift up his eyes to the idols of the house of Israel, does not defile his neighbour’s wife or approach a woman during her menstrual period, does not oppress anyone, but restores to the debtor his pledge, commits no robbery, gives his bread to the hungry and covers the naked with a garment, does not take advance or accrued interest, withholds his hand from iniquity, executes true justice between contending parties, follows my statutes, and is careful to observe my ordinances, acting faithfully—such a one is righteous; he shall surely live, says the Lord God.
If he has a son who is violent, a shedder of blood, takes advance or accrued interest; shall he then live? He shall not. He has done all these abominable things; he shall surely die; his blood shall be upon himself.
Therefore I will judge you, O house of Israel, all of you according to your ways, says the Lord God. Repent and turn from all your transgressions; otherwise iniquity will be your ruin. Cast away from you all the transgressions that you have committed against me, and get yourselves a new heart and a new spirit! Why will you die, O house of Israel? For I have no pleasure in the death of anyone, says the Lord God. Turn, then, and live.
(New Revised Standard Version Bible: Anglicized Edition, copyright © 1989, 1995 National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved worldwide. http://nrsvbibles.org)