Deuteronomy 24:16 NKJV

16 Fathers shall not be put to death for their children, nor shall the children be put to death for their fathers; a person shall be put to death for his own sin.