Devil’s advocate …..In the Old Testament God wasnt necessarily against killing children or pregnant women in certain circumstances. Deuteronomy 2:34 KJVS
[34] And we took all his cities at that time, and utterly destroyed the men, and the women, and the little ones, of every city, we left none to remain: