Numbers 31:4-14

4 Of every tribe one thousand, throughout all the tribes of Yisra'el, shall you send to the war.
5 So there were delivered, out of the thousands of Yisra'el, a thousand of every tribe, twelve thousand armed for war.
6 Moshe sent them, one thousand of every tribe, to the war, them and Pinechas the son of El`azar the Kohen, to the war, with the vessels of the sanctuary and the trumpets for the alarm in his hand.
7 They warred against Midyan, as the LORD commanded Moshe; and they killed every male.
8 They killed the kings of Midyan with the rest of their slain: Evi, and Rekem, and Tzur, and Hur, and Reva, the five kings of Midyan: Bil`am also the son of Be'or they killed with the sword.
9 The children of Yisra'el took captive the women of Midyan and their little ones; and all their cattle, and all their flocks, and all their goods, they took for a prey.
10 All their cities in the places in which they lived, and all their encampments, they burnt with fire.
11 They took all the spoil, and all the prey, both of man and of animal.
12 They brought the captives, and the prey, and the spoil, to Moshe, and to El`azar the Kohen, and to the congregation of the children of Yisra'el, to the camp at the plains of Mo'av, which are by the Yarden at Yericho.
13 Moshe, and El`azar the Kohen, and all the princes of the congregation, went forth to meet them outside of the camp.
14 Moshe was angry with the officers of the host, the captains of thousands and the captains of hundreds, who came from the service of the war.
The Hebrew Names Version is in the public domain.