1. The Lord said to Moses,
2. “Punish the Midianites for what they did to the people of Israel. After you have done that, you will die.”
3. So Moses said to the people, “Get ready for war, so that you can attack Midian and punish them for what they did to the Lord.
4. From each tribe of Israel send a thousand men to war.”
5. So a thousand men were chosen from each tribe, a total of 12,000 men ready for battle.
6. Moses sent them to war under the command of Phinehas son of Eleazar the priest, who took charge of the sacred objects and the trumpets for giving signals.
7. They attacked Midian, as the Lord had commanded Moses, and killed all the men,
8. including the five kings of Midian: Evi, Rekem, Zur, Hur, and Reba. They also killed Balaam son of Beor.
9. The people of Israel captured the Midianite women and children, took their cattle and their flocks, plundered all their wealth,
10. and burnt all their cities and camps.
11. They took all the loot that they had captured, including the prisoners and the animals,
12. and brought them to Moses and Eleazar and to the community of the people of Israel, who were at the camp on the plains of Moab across the Jordan from Jericho.
13. Moses, Eleazar, and all the other leaders of the community went out of the camp to meet the army.
14. Moses was angry with the officers, the commanders of battalions and companies, who had returned from the war.
15. He asked them, “Why have you kept all the women alive?
16. Remember that it was the women who followed Balaam's instructions and at Peor led the people to be unfaithful to the Lord. That was what brought the epidemic on the Lord's people.
17. So now kill every boy and kill every woman who has had sexual intercourse,
18. but keep alive for yourselves all the girls and all the women who are virgins.
19. Now all of you who have killed anyone or have touched a corpse must stay outside the camp for seven days. On the third day and on the seventh day purify yourselves and the women you have captured.
20. You must also purify every piece of clothing and everything made of leather, goats' hair, or wood.”
21. Eleazar the priest said to the men who had returned from battle, “These are the regulations that the Lord has given to Moses.
22-23. Everything that will not burn, such as gold, silver, bronze, iron, tin, or lead, is to be purified by passing it through fire. Everything else is to be purified by the water for purification.
24. On the seventh day you must wash your clothes; then you will be ritually clean and will be permitted to enter the camp.”
25. The Lord said to Moses,
26. “You and Eleazar, together with the other leaders of the community, are to count everything that has been captured, including the prisoners and the animals.
27. Divide what was taken into two equal parts, one part for the soldiers and the other part for the rest of the community.
28. From the part that belongs to the soldiers, withhold as a tax for the Lord one out of every 500 prisoners and the same proportion of the cattle, donkeys, sheep, and goats.
29. Give them to Eleazar the priest as a special contribution to the Lord.
30. From the part given to the rest of the people, take one out of every fifty prisoners and the same proportion of the cattle, donkeys, sheep, and goats. Give them to the Levites who are in charge of the Lord's Tent.”
31. Moses and Eleazar did what the Lord commanded.
32-35. The following is a list of what was captured by the soldiers, in addition to what they kept for themselves: 675,000 sheep and goats, 72,000 cattle, 61,000 donkeys, and 32,000 virgins.
36-40. The half-share of the soldiers was 337,500 sheep and goats, of which 675 were the tax for the Lord; 36,000 cattle for the soldiers, of which 72 were the tax for the Lord; 30,500 donkeys for the soldiers, of which 61 were the tax for the Lord; and 16,000 virgins for the soldiers, of which 32 were the tax for the Lord.
41. So Moses gave Eleazar the tax as a special contribution to the Lord, as the Lord had commanded.
42-46. The share of the community was the same as that for the soldiers: 337,500 sheep and goats, 36,000 cattle, 30,500 donkeys, and 16,000 virgins.
47. From this share Moses took one out of every fifty prisoners and animals, and as the Lord had commanded, gave them to the Levites who were in charge of the Lord's Tent.
48. Then the officers who had commanded the army went to Moses
49. and reported, “Sir, we have counted the soldiers under our command and not one of them is missing.
50. So we are bringing the gold ornaments, armlets, bracelets, rings, earrings, and necklaces that each of us has taken. We offer them to the Lord as a payment for our lives, so that he will protect us.”
51. Moses and Eleazar received the gold, all of which was in the form of ornaments.
52. The total contribution of the officers weighed nearly 200 kilogrammes.
53. Those who were not officers kept the loot they had taken.
54. So Moses and Eleazar took the gold to the Tent, so that the Lord would protect the people of Israel.