2 Chronicles 25:4

However he did not execute their children, but did as it is written in the Law in the Book of Moses, where the LORD commanded, saying, "The fathers shall not be put to death for their children, nor shall the children be put to death for their fathers; but a person shall die for his own sin."