31 And the Lord said to me, ‘Behold, I have begun to give Sihon and his land over to you. Begin to take possession, that you may occupy his land.’ 32 Then Sihon came out against us, he and all his people, to battle at Jahaz. 33 [B]And the Lord our God gave him over to us, and we defeated him and his sons and all his people. 34 And we captured all his cities at that time and devoted to destruction every city, men, women, and children. We left no survivors. 35 Only the livestock we took as spoil for ourselves, with the plunder of the cities that we captured.
As I pointed out earlier in the thread:
7 They fought against Midian, as the Lord commanded Moses, and killed every man. 8 Among their victims were Evi, Rekem, Zur, Hur and Reba—the five kings of Midian. They also killed Balaam son of Beor with the sword. 9 The Israelites captured the Midianite women and children and took all the Midianite herds, flocks and goods as plunder. 10 They burned all the towns where the Midianites had settled, as well as all their camps. 11 They took all the plunder and spoils, including the people and animals, 12 and brought the captives, spoils and plunder to Moses and Eleazar the priest and the Israelite assembly at their camp on the plains of Moab, by the Jordan across from Jericho.
13 Moses, Eleazar the priest and all the leaders of the community went to meet them outside the camp. 14 Moses was angry with the officers of the army—the commanders of thousands and commanders of hundreds—who returned from the battle.
15 “Have you allowed all the women to live?” he asked them. 16 “They were the ones who followed Balaam’s advice and enticed the Israelites to be unfaithful to the Lord in the Peor incident, so that a plague struck the Lord’s people. 17 Now kill all the boys. And kill every woman who has slept with a man, 18 but save for yourselves every girl who has never slept with a man.
So in the above case the Israelites were to kill all the men, women, and children with the exception of little virgin girls whom they could take and rape as spoils of war.
Here is another extremely violent example in scripture:
16 The people of Samaria must bear their guilt,
because they have rebelled against their God.
They will fall by the sword;
their little ones will be dashed to the ground,
their pregnant women ripped open.”
There are plenty more examples like that in the Old Testament.