Numbers 31:7-18
7 And they warred against the Midianites, just as the Lord commanded Moses, and they killed all the males. 8 They killed the kings of Midian with the rest of those who were killed--Evi, Rekem, Zur, Hur, and Reba, the five kings of Midian. Balaam the son of Beor they also killed with the sword. 9 And the children of Israel took the women of Midian captive, with their little ones, and took as spoil all their cattle, all their flocks, and all their goods. 10 They also burned with fire all the cities where they dwelt, and all their forts. 11 And they took all the spoil and all the booty--of man and beast. 12 Then they brought the captives, the booty, and the spoil to Moses, to Eleazar the priest, and to the congregation of the children of Israel, to the camp in the plains of Moab by the Jordan, across from Jericho.
13 And Moses, Eleazar the priest, and all the leaders of the congregation, went to meet them outside the camp. 14 But Moses was angry with the officers of the army, with the captains over thousands and captains over hundreds, who had come from the battle. 15 And Moses said to them: "Have you kept all the women alive? 16 Look, these women caused the children of Israel, through the counsel of Balaam, to trespass against the Lord in the incident of Peor, and there was a plague among the congregation of the Lord. 17 Now therefore, kill every male among the little ones, and kill every woman who has known a man intimately. 18 But keep alive for yourselves all the young girls who have not known a man intimately.
Matthew Henry's Commentary on Numbers 31:7-18
Commentary on Numbers 31:7-12
(Read Numbers 31:7-12)
The Israelites slew the Kings of Midian. They slew Balaam. God's overruling providence brought him thither, and their just vengeance found him. Had he himself rightly believed what he had said of the happy state of Israel, he would not have thus herded with the enemies of Israel. The Midianites' wicked wiles were Balaam's projects: it was just that he should perish with them, Hosea 4:5. They took the women and children captives. They burnt their cities and castles, and returned to the camp.
Commentary on Numbers 31:13-18
(Read Numbers 31:13-18)
The sword of war should spare women and children; but the sword of justice should know no distinction, but that of guilty or not guilty. This war was the execution of a righteous sentence upon a guilty nation, in which the women were the worst criminals. The female children were spared, who, being brought up among the Israelites, would not tempt them to idolatry. The whole history shows the hatefulness of sin, and the guilt of tempting others; it teaches us to avoid all occasions of evil, and to give no quarter to inward lusts. The women and children were not kept for sinful purposes, but for slaves, a custom every where practised in former times, as to captives. In the course of providence, when famine and plagues visit a nation for sin, children suffer in the common calamity. In this case parents are punished in their children; and for children dying before actual sin, full provision is made as to their eternal happiness, by the mercy of God in Christ.