He did not execute their children. He obeyed Jehovah's command written in the Book of Moses' Teachings: Parents must never be put to death for the crimes of their children, and children must never be put to death for the crimes of their parents. Each person must be put to death for his own crime.

Fathers shall not be put to death for their sons, nor shall sons be put to death for their fathers. Everyone shall be put to death for his own sin.

The person who sins will die. The son will not bear the punishment for the father's iniquity, nor will the father bear the punishment for the son's iniquity. The righteousness of the righteous will be upon himself. And the wickedness of the wicked will be upon himself.

As soon as he firmly established the kingdom he immediately put to death those servants who had taken the life of his father, the king.

When that time comes people will no longer say: 'The fathers have eaten sour grapes, and their children's teeth are set on edge.'

The life of every person belongs to me. The life of the father as well as the life of the son is mine. The person who sins will die.

Treasury of Scripture Knowledge

Summary

But he slew not 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 die for the children, neither shall the children die for the fathers, but every man shall die for his own sin.

General references

Bible References

As it is written

Fathers shall not be put to death for their sons, nor shall sons be put to death for their fathers. Everyone shall be put to death for his own sin.
As soon as he firmly established the kingdom he immediately put to death those servants who had taken the life of his father, the king.
When that time comes people will no longer say: 'The fathers have eaten sour grapes, and their children's teeth are set on edge.'
The life of every person belongs to me. The life of the father as well as the life of the son is mine. The person who sins will die.

General references

Fathers shall not be put to death for their sons, nor shall sons be put to death for their fathers. Everyone shall be put to death for his own sin.
All Translations
A Conservative Version
American Bible Union New Testament
American Standard Version
Amplified
An Understandable Version
Anderson New Testament
Bible in Basic English
Common New Testament
Daniel Mace New Testament
Darby Translation
Emphatic Diaglott Bible
Godbey New Testament
Goodspeed New Testament
Holman Bible
International Standard Version
John Wesley New Testament
Julia Smith Translation
King James 2000
King James Version
Lexham Expanded Bible
Living Oracles New Testament
Modern King James verseion
Modern Spelling Tyndale-Coverdale
Moffatt New Testament
Montgomery New Testament
NET Bible
New American Standard Bible
New Heart English Bible
Noyes New Testament
Sawyer New Testament
The Emphasized Bible
Thomas Haweis New Testament
Twentieth Century New Testament
Webster
Weymouth New Testament
Williams New Testament
World English Bible
Worldwide English (NT)
Worrell New Testament
Worsley New Testament
Youngs Literal Translation