The Lord spoke to Moses,
References for Numbers 31:1
"Execute vengeance for the Israelites against the Midianites. After that, you will be gathered to your people."
So Moses spoke to the people, "Equip some of your men for war. They will go against Midian to inflict the Lord's vengeance on them.
References for Numbers 31:3
Send 1,000 men to war from each Israelite tribe."
So 1,000 were recruited from each Israelite tribe out of the thousands in Israel-12,000 equipped for war.
References for Numbers 31:5
Moses sent 1,000 from each tribe to war. They went with Phinehas son of Eleazar the priest, in whose care were the holy objects and signal trumpets.
They waged war against Midian, as the Lord had commanded Moses, and killed every male.
Along with the others slain by them, they killed the Midianite kings-Evi, Rekem, Zur, Hur, and Reba, the five kings of Midian. They also killed Balaam son of Beor with the sword.
The Israelites took the Midianite women and their children captive, and they plundered all their cattle, flocks, and property.
References for Numbers 31:9
Then they burned all the cities where the Midianites lived, as well as all their encampments,
and took away all the spoils of war and the captives, both human and animal.
They brought the prisoners, animals, and spoils of war to Moses, Eleazar the priest, and the Israelite community at the camp on the plains of Moab by the Jordan [across from] Jericho.
Moses, Eleazar the priest, and all the leaders of the community went to meet them outside the camp.
But Moses became furious with the officers, the commanders of thousands and commanders of hundreds, who were returning from the military campaign.
"Have you let every female live?" he asked them.
References for Numbers 31:15
"Yet they are the ones who, at Balaam's advice, incited the Israelites to unfaithfulness against the Lord in the Peor incident, so that the plague came against the Lord's community.
References for Numbers 31:16
So now, kill all the male children and kill every woman who has had sexual relations with a man,
but keep alive for yourselves all the young females who have not had sexual relations.
"You are to remain outside the camp for seven days. All of you and your prisoners who have killed a person or touched the dead are to purify yourselves on the third day and the seventh day.
Also purify everything: garments, leather goods, things made of goat hair, and every article of wood."
References for Numbers 31:20
Then Eleazar the priest said to the soldiers who had gone to battle, "This is the legal statute the Lord commanded Moses:
Only the gold, silver, bronze, iron, tin, and lead-
everything that can withstand fire-put through fire, and it will be clean. It must still be purified with the purification water. Anything that cannot withstand fire, put through the water.
References for Numbers 31:23
On the seventh day wash your clothes, and you will be clean. After that you may enter the camp."
The Lord told Moses,
"You, Eleazar the priest, and the family leaders of the community are to take a count of what was captured, human and animal.
Then divide the captives between the troops who went out to war and the entire community.
Set aside a tribute for the Lord from what belongs to the fighting men who went out to war: one out of [every] 500 humans, cattle, donkeys, sheep, and goats.
Take [the tribute] from their half and give [it] to Eleazar the priest as a contribution to the Lord.
From the Israelites' half, take one out of every 50 from the people, cattle, donkeys, sheep, and goats, all the livestock, and give them to the Levites who perform the duties of the Lord's tabernacle."
References for Numbers 31:30
So Moses and Eleazar the priest did as the Lord commanded Moses.
The captives remaining from the plunder the army had taken totaled: 675,000 sheep and goats,
and 32,000 people, all the females who had not had sexual relations with a man.
The half portion for those who went out to war numbered: 337,500 sheep and goats,
and the tribute to the Lord was 675 from the sheep and goats;
from the 36,000 cattle, the tribute to the Lord was 72;
from the 30,500 donkeys, the tribute to the Lord was 61;
and from the 16,000 people, the tribute to the Lord was 32 people.
Moses gave the tribute to Eleazar the priest as a contribution for the Lord, as the Lord had commanded Moses.
From the Israelites' half, which Moses separated from the men who fought,
the community's half was: 337,500 sheep and goats,
and 16,000 people.
Moses took one out of [every] 50, selected from the people and the livestock from the Israelites' half. He gave them to the Levites who perform the duties of the Lord's tabernacle, as the Lord had commanded him.
The officers who were over the thousands of the army, the commanders of thousands and of hundreds, approached Moses
and told him, "Your servants have taken a census of the fighting men under our command, and not one of us is missing.
So we have presented to the Lord an offering of the gold articles each man found-armlets, bracelets, rings, earrings, and necklaces-to make atonement for ourselves before the Lord."
References for Numbers 31:50
Moses and Eleazar the priest received from them all the articles made out of gold.
All the gold of the contribution they offered to the Lord, from the commanders of thousands and of hundreds, was 420 pounds.
References for Numbers 31:52
Each of the soldiers had taken plunder for himself.
Moses and Eleazar 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 Israelites before the Lord.