Gumby,
problems here. Some people read these accounts in the bible and find it to be inconsistent with their inner sense of justice, they then assume God must be right, and let the matter rest. But your post seems to attempt to justify the acts of killing, as if they need some justification in the minds of those that believe them to have been done by God. By attempting to explain, you seem to say you understand God's justice, you seem to imply that there's some logic in the acts which your humanity understands and identifies with. There's a problem there, because many 'decent' people will not agree with you. Even in cases where people have proved to be worthy of death by our human standards, discussions abound about humane ways of inflicting the capital punishment.
Accounts of prophet Samuel hacking the guilty to pieces before God, 70,000 Israelites dying because of a mistake by King David, soldiers being burnt to death because of opposing a prophet, and a warrior supported by God killing men, women, children and livestock simply do not meet with the current perception of justice by many decent people. You claim to understand why they happened, but your reason seems to be that they were warned, that they had a chance. Perhaps you would want to make one understand better how it is that the justification for the acts is very clear to you, and how it meets with your sense of justice that the children of guilty adults should suffer the same fate as their parents.