6 And Moses sent them, a thousand of every tribe, to the war, them and Phinehas the son of Eleazar the priest, to the war, with the vessels of the sanctuary and the trumpets for the alarm in his hand.

7 And they warred against Midian, as Jehovah commanded Moses; and they slew every male. 8 And they slew the kings of Midian with the rest of their slain: Evi, and Rekem, and Zur, and Hur, and Reba, the five kings of Midian: Balaam also the son of Beor they slew with the sword.

Matthew Henry's Commentary on Numbers 31:6-8

Commentary on Numbers 31:1-6

(Read Numbers 31:1-6)

All who, without commission from God, dare to execute private revenge, and who, from ambition, covetousness, or resentment, wage war and desolate kingdoms, must one day answer for it. But if God, instead of sending an earthquake, a pestilence, or a famine, be pleased to authorize and command any people to avenge his cause, such a commission surely is just and right. The Israelites could show such a commission, though no persons now can do so. Their wars were begun and carried on expressly by Divine direction, and they were enabled to conquer by miracles. Unless it can be proved that the wicked Canaanites did not deserve their doom, objectors only prove their dislike to God, and their love to his enemies. Man makes light of the evil of sin, but God abhors it. This explains the terrible executions of the nations which had filled the measure of their sins.

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.