Critics still point to the killing of children in a number of the accounts listed (e.g. the Flood, Amalek, etc.) and protest that God was not justified in calling for the taking of their lives. To address this charge, a number of things should be understood.
First, the typical Israeli rules of engagement included a warning and declaration period of the coming, impeding war. Women, children, the elderly, and others who wished could easily flee far ahead of the fully announced military attack. Only those who (or whose parents) stubbornly remained would face war and its outcome.
Second, in the case of Amalek, it has already been shown that the entire culture had been corrupted by the sin of the adults. From the perspective of eternity, there was no hope for any child who was left behind. Scripture speaks to the fact that any child who dies before they know enough to be morally accountable before God are taken to be with Him (cf. 2 Sam. 12:23), so while some children may have been killed in war, they were ultimately saved by God from becoming what their parents were.
Last, socially and physically, the fate of children throughout history has always rested with their parents, whether they were in good hands (in the case of Noah) or bad (Amalek). The actions of the parents were the final determinant in the temporal/earthly well-being of the children.