2 Chronicles 25:4

NASB
However, he did not put their children to death, but did as it is written in the law in the book of Moses, which the LORD commanded, saying, " Fathers shall not be put to death for sons, nor sons be put to death for fathers, but each shall be put to death for his own sin."