311The 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.”
3So 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. 4From each tribe of Israel send a thousand men to war.”
5So a thousand men were chosen from each tribe, a total of 12,000 men ready for battle. 6Moses 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. 7They attacked Midian, as the LORD had commanded Moses, and killed all the men, 8including the five kings of Midian: Evi, Rekem, Zur, Hur, and Reba. They also killed Balaam son of Beor.
9The people of Israel captured the Midianite women and children, took their cattle and their flocks, plundered all their wealth, 10and burnt all their cities and camps. 11They took all the loot that they had captured, including the prisoners and the animals, 12and 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.
13Moses, Eleazar, and all the other leaders of the community went out of the camp to meet the army. 14Moses was angry with the officers, the commanders of battalions and companies, who had returned from the war. 15He 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. 17So now kill every boy and kill every woman who has had sexual intercourse, 18but keep alive for yourselves all the girls and all the women who are virgins. 19Now 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. 20You must also purify every piece of clothing and everything made of leather, goats' hair, or wood.”
21Eleazar the priest said to the men who had returned from battle, “These are the regulations that the LORD has given to Moses. 22-23Everything 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. 24On the seventh day you must wash your clothes; then you will be ritually clean and will be permitted to enter the camp.”
25The 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. 27Divide what was taken into two equal parts, one part for the soldiers and the other part for the rest of the community. 28From 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. 29Give them to Eleazar the priest as a special contribution to the LORD. 30From 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.” 31Moses and Eleazar did what the LORD commanded.
32-35The 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-40The 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. 41So Moses gave Eleazar the tax as a special contribution to the LORD, as the LORD had commanded.
42-46The 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. 47From 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.
48Then the officers who had commanded the army went to Moses 49and reported, “Sir, we have counted the soldiers under our command and not one of them is missing. 50So 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.” 51Moses and Eleazar received the gold, all of which was in the form of ornaments. 52The total contribution of the officers weighed nearly 200 kilogrammes. 53Those who were not officers kept the loot they had taken. 54So Moses and Eleazar took the gold to the Tent, so that the LORD would protect the people of Israel.