The LORD said to Moses,
"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.
Moses, and Elea'zar the priest, and all the leaders of the congregation, went forth to meet them outside the camp.
And Moses was angry with the officers of the army, the commanders of thousands and the commanders of hundreds, who had come from service in the war.
Moses said to them, "Have you let all the women live?
Behold, these caused the people of Israel, by the counsel of Balaam, to act treacherously against the LORD in the matter of Pe'or, and so the plague came among the congregation of the LORD.
Now therefore, kill every male among the little ones, and kill every woman who has known man by lying with him.
But all the young girls who have not known man by lying with him, keep alive for yourselves.
Encamp outside the camp seven days; whoever of you has killed any person, and whoever has touched any slain, purify yourselves and your captives on the third day and on the seventh day.
You shall purify every garment, every article of skin, all work of goats' hair, and every article of wood."
And Elea'zar the priest said to the men of war who had gone to battle: "This is the statute of the law which the LORD has commanded Moses:
only the gold, the silver, the bronze, the iron, the tin, and the lead,
everything that can stand the fire, you shall pass through the fire, and it shall be clean. Nevertheless it shall also be purified with the water of impurity; and whatever cannot stand the fire, you shall pass through the water.
You must wash your clothes on the seventh day, and you shall be clean; and afterward you shall come into the camp."
The LORD said to Moses,
"Take the count of the booty that was taken, both of man and of beast, you and Elea'zar the priest and the heads of the fathers' houses of the congregation;
and divide the booty into two parts, between the warriors who went out to battle and all the congregation.
And levy for the LORD a tribute from the men of war who went out to battle, one out of five hundred, of the persons and of the oxen and of the asses and of the flocks;
take it from their half, and give it to Elea'zar the priest as an offering to the LORD.
And from the people of Israel's half you shall take one drawn out of every fifty, of the persons, of the oxen, of the asses, and of the flocks, of all the cattle, and give them to the Levites who have charge of the tabernacle of the LORD."
And Moses and Elea'zar the priest did as the LORD commanded Moses.
Now the booty remaining of the spoil that the men of war took was: six hundred and seventy-five thousand sheep,
seventy-two thousand cattle,
sixty-one thousand asses,
and thirty-two thousand persons in all, women who had not known man by lying with him.
And the half, the portion of those who had gone out to war, was in number three hundred and thirty-seven thousand five hundred sheep,
and the LORD's tribute of sheep was six hundred and seventy-five.
The cattle were thirty-six thousand, of which the LORD's tribute was seventy-two.
The asses were thirty thousand five hundred, of which the LORD's tribute was sixty-one.
The persons were sixteen thousand, of which the LORD's tribute was thirty-two persons.
And Moses gave the tribute, which was the offering for the LORD, to Elea'zar the priest, as the LORD commanded Moses.
From the people of Israel's half, which Moses separated from that of the men who had gone to war--
now the congregation's half was three hundred and thirty-seven thousand five hundred sheep,
thirty-six thousand cattle,
and thirty thousand five hundred asses,
and sixteen thousand persons--
from the people of Israel's half Moses took one of every fifty, both of persons and of beasts, and gave them to the Levites who had charge of the tabernacle of the LORD; as the LORD commanded Moses.
Then the officers who were over the thousands of the army, the captains of thousands and the captains of hundreds, came near to Moses,
and said to Moses, "Your servants have counted the men of war who are under our command, and there is not a man missing from us.
And we have brought the LORD's offering, what each man found, articles of gold, armlets and bracelets, signet rings, earrings, and beads, to make atonement for ourselves before the LORD."
And Moses and Elea'zar the priest received from them the gold, all wrought articles.
And all the gold of the offering that they offered to the LORD, from the commanders of thousands and the commanders of hundreds, was sixteen thousand seven hundred and fifty shekels.
(The men of war had taken booty, every man for himself.)
And Moses and Elea'zar the priest received the gold from the commanders of thousands and of hundreds, and brought it into the tent of meeting, as a memorial for the people of Israel before the LORD.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (Revised Standard Version - Holy Bible)