"Avenge the people of Israel on the Mid'ianites; afterward you shall be gathered to your people."
And Moses said to the people, "Arm men from among you for the war, that they may go against Mid'ian, to execute the LORD's vengeance on Mid'ian.
You shall send a thousand from each of the tribes of Israel to the war."
So there were provided, out of the thousands of Israel, a thousand from each tribe, twelve thousand armed for war.
And Moses sent them to the war, a thousand from each tribe, together with Phin'ehas the son of Elea'zar the priest, with the vessels of the sanctuary and the trumpets for the alarm in his hand.
They warred against Mid'ian, as the LORD commanded Moses, and slew every male.
They slew the kings of Mid'ian with the rest of their slain, Evi, Rekem, Zur, Hur, and Reba, the five kings of Mid'ian; and they also slew Balaam the son of Be'or with the sword.
And the people of Israel took captive the women of Mid'ian and their little ones; and they took as booty all their cattle, their flocks, and all their goods.
All their cities in the places where they dwelt, and all their encampments, they burned with fire,
and took all the spoil and all the booty, both of man and of beast.
Then they brought the captives and the booty and the spoil to Moses, and to Elea'zar the priest, and to the congregation of the people of Israel, at the camp on the plains of Moab by the Jordan at Jericho.