Numbers.
Chapter 31.
Yahweh spoke to Moses and said, 
“Take vengeance on the Midianites for what they did to the Israelites. After doing that, you will die and be gathered to your people.” 
So Moses spoke to the people. He said, “Arm some of your men for war so they may go against Midian and carry out Yahweh's vengeance on it. 
Every tribe throughout Israel must send a thousand soldiers to war.” 
So out of Israel's thousands of men, one thousand was provided from each tribe, twelve thousand men armed for war. 
Then Moses sent them to battle, a thousand from every tribe, along with Phinehas son of Eleazar the priest, and with some articles from the holy place and the trumpets in his possession for sounding signals. 
They fought against Midian, as Yahweh had commanded Moses. They killed every man. 
They killed the kings of Midian with the rest of their dead: Evi, Rekem, Zur, Hur, and Reba, the five kings of Midian. They also killed Balaam son of Beor, with the sword. 
The army of Israel took captive the women of Midian, their children, all their cattle, all their flocks, and all their goods. They took these as plunder. 
They burned all their cities where they lived and all their camps. 
They took all the plunder and prisoners, both people and animals. 
They brought the prisoners, the plunder, and the captured things to Moses, to Eleazar the priest, and to the community of the people of Israel. They brought these to the camp in the plains of Moab, by the Jordan near Jericho. 
Moses, Eleazar the priest, and all the leaders of the community went to meet them outside the camp. 
But Moses was angry with the officers of the army, the commanders of thousands and the captains of hundreds, who came from battle. 
Moses said to them, “Have you let all the women live? 
Look, these women caused the people of Israel, through Balaam's advice, to commit sin against Yahweh in the matter of Peor, when the plague spread among Yahweh's community. 
Now then, kill every male among the little ones, and kill every woman who has ever slept with a man. 
But take for yourselves all the young girls who have never slept with a man. 
You must camp outside the camp of Israel for seven days. All of you who have killed anyone and or have touched any dead person—you must purify yourselves on the third day and on the seventh day—you and your prisoners. 
You must purify every garment and everything made of animal hide and goats' hair, and everything made of wood.” 
Eleazar the priest said to the soldiers who had gone to war, “This is a decreed law that Yahweh has given to Moses: 
The gold, silver, bronze, iron, tin, and lead, 
and everything that resists fire, you must put it through the fire, and it will become clean. You must then purify those things with the water of cleansing. Whatever cannot go through the fire you must cleanse with that water. 
You must wash your clothes on the seventh day, and then you will become clean. Afterward you may come into Israel's camp.” 
Then Yahweh spoke to Moses and said, 
“Count all the plundered things that were taken, both people and animals. You, Eleazar the priest, and the leaders of the community's ancestor's clans 
must divide the plunder into two parts. Divide it between the soldiers who went out to battle and all the rest of the community. 
Then levy a tax to be given to me from the soldiers who went out to battle. This tax must be one out of every five hundred, whether persons, cattle, donkeys, sheep, or goats. 
Take this tax from their half and give it to Eleazar the priest for an offering to be presented to me. 
Also from the people of Israel's half, you must take one out of every fifty—from the persons, cattle, donkeys, sheep, and goats. Give these to the Levites who take care of my tabernacle.” 
So Moses and Eleazar the priest did as Yahweh had commanded Moses. 
Now the plunder that remained of what the soldiers had taken was 675,000 sheep, 
seventy-two thousand oxen, 
sixty-one thousand donkeys, 
and thirty-two thousand women who had never slept with any man. 
The half that was kept for the soldiers numbered 337,000 sheep. 
Yahweh's part of the sheep was 675. 
The oxen were thirty-six thousand which Yahweh's tax was seventy-two. 
The donkeys were 30,500 from which Yahweh's part was sixty-one. 
The persons were sixteen thousand women of whom Yahweh's tax was thirty-two. 
Moses took the tax that was to be an offering presented to Yahweh. He gave it to Eleazar the priest, as Yahweh commanded Moses. 
As for the people of Israel's half that Moses had taken from the soldiers who had gone to war— 
the community's half was 337,500 sheep, 
thirty-six thousand oxen, 
30,500 donkeys, 
and sixteen thousand women. 
From the people of Israel's half, Moses took one out of every fifty, both of people and animals. He gave them to the Levites who kept care of Yahweh's tabernacle, as Yahweh had commanded him to do. 
Then the officers of the army, the commanders over thousands and the captains over hundreds, came to Moses. 
They said to him, “Your servants have counted the soldiers who are under our command, and not one man is missing. 
We have brought Yahweh's offering, what each man found, articles of gold, armlets and bracelets, signet rings, earrings, and necklaces, to make atonement for ourselves before Yahweh.” 
Moses and Eleazar the priest received from them the gold and all the articles of craftsmanship. 
All the gold of the offering that they gave to Yahweh—the offerings from the commanders of thousands and from the captains of hundreds—weighed 16,750 shekels. 
Each soldier had taken plunder, each man for himself. 
Moses and Eleazar the priest took the gold from the commanders of thousands and captains of hundreds. They took it into the tent of meeting as a reminder of the people of Israel for Yahweh. 
