3 Thus Israel yoked itself to the Baal of Peor, and the Lord's anger was kindled against Israel. 4 The Lord said to Moses, "Take all the chiefs of the people, and impale them in the sun before the Lord, in order that the fierce anger of the Lord may turn away from Israel." 5 And Moses said to the judges of Israel, "Each of you shall kill any of your people who have yoked themselves to the Baal of Peor."

6 Just then one of the Israelites came and brought a Midianite woman into his family, in the sight of Moses and in the sight of the whole congregation of the Israelites, while they were weeping at the entrance of the tent of meeting. 7 When Phinehas son of Eleazar, son of Aaron the priest, saw it, he got up and left the congregation. Taking a spear in his hand, 8 he went after the Israelite man into the tent, and pierced the two of them, the Israelite and the woman, through the belly. So the plague was stopped among the people of Israel. 9 Nevertheless those that died by the plague were twenty-four thousand. 10 The Lord spoke to Moses, saying: 11 "Phinehas son of Eleazar, son of Aaron the priest, has turned back my wrath from the Israelites by manifesting such zeal among them on my behalf that in my jealousy I did not consume the Israelites. 12 Therefore say, "I hereby grant him my covenant of peace. 13 It shall be for him and for his descendants after him a covenant of perpetual priesthood, because he was zealous for his God, and made atonement for the Israelites.' " 14 The name of the slain Israelite man, who was killed with the Midianite woman, was Zimri son of Salu, head of an ancestral house belonging to the Simeonites. 15 The name of the Midianite woman who was killed was Cozbi daughter of Zur, who was the head of a clan, an ancestral house in Midian.

16 The Lord said to Moses, 17 "Harass the Midianites, and defeat them; 18 for they have harassed you by the trickery with which they deceived you in the affair of Peor, and in the affair of Cozbi, the daughter of a leader of Midian, their sister; she was killed on the day of the plague that resulted from Peor."

Matthew Henry's Commentary on Numbers 25:3-18

Commentary on Numbers 25:1-5

(Read Numbers 25:1-5)

The friendship of the wicked is more dangerous than their enmity; for none can prevail against God's people if they are not overcome by their inbred lusts; nor can any enchantment hurt them, but the enticements of worldly interests and pleasures. Here is the sin of Israel, to which they are enticed by the daughters of Moab and Midian. Those are our worst enemies who draw us to sin, for that is the greatest mischief any man can do us. Israel's sin did that which all Balaam's enchantments could not do; it set God against them. Diseases are the fruits of God's anger, and the just punishments of prevailing sins; one infection follows the other. Ringleaders in sin ought to be made examples of justice.

Commentary on Numbers 25:6-15

(Read Numbers 25:6-15)

Phinehas, in the courage of zeal and faith, executed vengeance on Zimri and Cozbi. This act can never be an example for private revenge, or religious persecution, or for irregular public vengeance.

Commentary on Numbers 25:16-18

(Read Numbers 25:16-18)

We read not that any Midianites died of the plague; God punished them with the sword of an enemy, not with the rod of a father. We must set ourselves against whatever is an occasion of sin to us, Matthew 5:29,30. Whatever draws us to sin, should be a vexation to us, as a thorn in the flesh. And none will be more surely and severely punished than those who, after Satan's example, and with his subtlety, tempt others to sin.