Deuteronomy 24:16 NCV

16 Parents must not be put to death if their children do wrong, and children must not be put to death if their parents do wrong. Each person must die for his own sin.