But the children of those officers were not killed. The Lord had commanded in the Law of Moses that only the people who sinned were to be punished, not their parents or children.