The LORD spoke to Moses. He said,
"Pay the people of Midian back for what they did to the Israelites. After that, you will join the members of your family who have already died."
So Moses said to the people, "Prepare some of your men for battle. They must go to war against Midian. They will carry out the LORD's plan to punish Midian.
Send 1,000 men from each of the tribes of Israel into battle."
So Moses prepared 12,000 men for battle. There were 1,000 from each tribe. They came from the families of Israel.
Moses sent them into battle. He sent 1,000 from each tribe. The priest Phinehas went along with them. Phinehas was the son of Eleazar. Phinehas took some articles from the sacred tent with him. He also took the trumpets. The trumpet blasts would tell the people what to do and when to do it.
They fought against Midian, just as the LORD had commanded Moses. They killed every man.
Evi, Rekem, Zur, Hur and Reba were among the men they killed. Those men were the five kings of Midian. The people of Israel also killed Balaam, the son of Beor, with a sword.
They captured the women and children of Midian. They took for themselves all of the herds, flocks and goods.
They burned up all of the towns where the people of Midian had settled. They also burned up all of their camps.
They carried off everything they had taken. That included the people and the animals.
They brought back to Israel's camp the prisoners and everything else they had taken. They took them to Moses and to the priest Eleazar. They brought them to the whole community. Israel was camped on the flatlands of Moab. They were by the Jordan River across from Jericho.
Moses and the priest Eleazar went to meet them outside the camp. So did all of the leaders of the community.
Moses was angry with the officers of the army who had returned from the battle. Some of them were the commanders of thousands of men. Others were the commanders of hundreds.
"Have you let all of the women remain alive?" Moses asked them.
"The women followed Balaam's advice. They caused the people of Israel to turn away from the Lord. The people worshiped the god Baal that was worshiped at Peor. So a plague struck them.
Kill all of the boys. And kill every woman who has made love to a man.
But save for yourselves every woman who has never made love to a man.
"All of you who have killed anyone must stay outside the camp for seven days. And all of you who have touched anyone who was killed must do the same thing. On the third and seventh days you must make yourselves pure. You must also make your prisoners pure.
Make all of your clothes pure and clean. Everything that is made out of leather, goat hair or wood must be made pure."
Then the priest Eleazar spoke to the soldiers who had gone into battle. He said, "Here is what the law the LORD gave Moses requires.
All of your gold, silver, bronze, iron, tin and lead
must be put through fire. So must everything else that doesn't burn up. Then those things will be 'clean.' But they must also be made pure with the special water. In fact, everything that won't burn up must be put through that water.
On the seventh day wash your clothes. And you will be 'clean.' Then you can come into the camp."
The LORD spoke to Moses. He said,
"Here is what you and the priest Eleazar and the family heads of the community must do. You must count all of the people and animals you took.
Divide up some of what you took with the soldiers who fought in the battle. Divide up the rest with the others in the community.
"Set apart a gift for me. Take something from the soldiers who fought in the battle. Set apart one out of every 500 people, cattle, donkeys, sheep and goats.
Take my gift from the soldiers' half. Give it to the priest Eleazar. It is my share.
"Also take something from the half that belongs to the people of Israel. Choose one out of every 50 people, cattle, donkeys, sheep, goats or other animals. Give them to the Levites. They are accountable for taking care of my holy tent."
So Moses and the priest Eleazar did just as the LORD had commanded Moses.
What the soldiers took included 675,000 sheep.
There were also 72,000 cattle
and 61,000 donkeys.
And there were 32,000 women who had never made love to a man.
Here is the half that belonged to those who had fought in the battle. There were 337,500 sheep.
From among them, the LORD's gift was 675.
There were 36,000 cattle. From among them, the LORD's gift was 72.
There were 30,500 donkeys. From among them, the LORD's gift was 61.
There were 16,000 women. From among them, the LORD's gift was 32.
Moses gave the gift to the priest Eleazar. It was the LORD's share. Moses did just as the LORD had commanded him.
The other half belonged to the people of Israel. Moses set it apart from what belonged to the fighting men.
The community's half was 337,500 sheep,
and 16,000 women.
Moses chose one out of every 50 people and animals. He gave them to the Levites. They were accountable for taking care of the LORD's holy tent. Moses did just as the LORD had commanded him.
Then the army officers went to Moses. Some of them were the commanders of thousands of men. Others were the commanders of hundreds.
All of them said to Moses, "We have counted the soldiers under our command. Not a single one is missing.
"So we've brought an offering to the Lord. We've brought the gold articles each of us took in the battle. We've also brought armbands, bracelets, rings, earrings and necklaces. We've brought them to pay for our sin in the sight of the Lord."
Moses and the priest Eleazar accepted the beautiful gold articles from the army officers.
The gold that was received from the commanders of thousands and commanders of hundreds weighed 420 pounds. Moses and Eleazar offered all of it as a gift to the Lord.
Each soldier had taken things from the battle for himself.
Moses and the priest Eleazar accepted the gold from all of the commanders. They brought it into the Tent of Meeting. It reminded the LORD of the people of Israel.