Deuteronomy 24:16

The fathers shall not be put to death on behalf of the sons, nor the sons on behalf of the fathers, but each one shall die for his own sin

Other versions

King James Version

The fathers shall not be put to death for the children, neither shall the children be put to death for the fathers: every man shall be put to death for his own sin.

English Standard Version

"Fathers shall not be put to death because of their children, nor shall children be put to death because of their fathers. Each one shall be put to death for his own sin.

New International Version

Fathers shall not be put to death for their children, nor children put to death for their fathers; each is to die for his own sin.