New International Version
Vengeance on the Midianites
3 So Moses said to the people, “Arm some of your men to go to war against the Midianites so that they may carry out the Lord’s vengeance(C) on them. 4 Send into battle a thousand men from each of the tribes of Israel.” 5 So twelve thousand men armed for battle,(D) a thousand from each tribe, were supplied from the clans of Israel. 6 Moses sent them into battle,(E) a thousand from each tribe, along with Phinehas(F) son of Eleazar, the priest, who took with him articles from the sanctuary(G) and the trumpets(H) for signaling.
7 They fought against Midian, as the Lord commanded Moses,(I) and killed every man.(J) 8 Among their victims were Evi, Rekem, Zur, Hur and Reba(K)—the five kings of Midian.(L) They also killed Balaam son of Beor(M) with the sword.(N) 9 The Israelites captured the Midianite women(O) and children and took all the Midianite herds, flocks and goods as plunder.(P) 10 They burned(Q) all the towns where the Midianites had settled, as well as all their camps.(R) 11 They took all the plunder and spoils, including the people and animals,(S) 12 and brought the captives, spoils(T) and plunder to Moses and Eleazar the priest and the Israelite assembly(U) at their camp on the plains of Moab, by the Jordan across from Jericho.(V)
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(W)—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(X) and enticed the Israelites to be unfaithful to the Lord in the Peor incident,(Y) so that a plague(Z) struck the Lord’s people. 17 Now kill all the boys. And kill every woman who has slept with a man,(AA) 18 but save for yourselves every girl who has never slept with a man.