Numbers 31:6-13 - Campaign Against The Midianites
6 And Moses sent them, a thousand of every tribe, to the war, them and Phinehas the son of Eleazar the priest, to the war, with the vessels of the sanctuary and the trumpets for the alarm in his hand.
7 And they warred against Midian as LORD commanded Moses, and they killed every male. 8 And they killed the kings of Midian with the rest of their slain: Evi, and Rekem, and Zur, and Hur, and Reba, the five kings of Midian. They also killed Balaam the son of Beor with the sword. 9 And the sons of Israel took captive the women of Midian and their little ones. And all their cattle, and all their flocks, and all their goods, they took for a prey. 10 And all their cities in the places in which they dwelt, and all their encampments, they burnt with fire. 11 And they took all the spoil, and all the prey, both of man and of beast. 12 And they brought the captives, and the prey, and the spoil, to Moses, and to Eleazar the priest, and to the congregation of the sons of Israel, to the camp at the plains of Moab, which are by the Jordan at Jericho.
13 And Moses, and Eleazar the priest, and all the rulers of the congregation, went forth to meet them outside the camp.