1While Israel was staying in Shittim, the people began to prostitute themselves with the daughters of Moab,
2for they invited the people of Israel to the sacrifices of their gods; and the people ate and bowed down to their gods.
3So Israel yoked himself to Baal-peor: and the anger of Yahweh was kindled against Israel.
4Yahweh said to Moses, “Take all the head-men of the people and hang them up to Yahweh before the sun, that the fierce anger of Yahweh may turn away from Israel.”
6Behold, one of the children of Israel came and brought to his brothers a Midianite woman in the sight of Moses and in the sight of all the congregation of the children of Israel while they were weeping at the entrance of the Tent of Meeting.
7When Phinehas the son of Eleazar, the son of Aaron the priest saw it, he rose up from the middle of the congregation and took a spear in his hand;
8and he went after the man of Israel into the pavilion, and thrust both of them through, the man of Israel and the woman through her body. So the plague was stayed from the children of Israel.
9Those who died by the plague were 24,000.
10Yahweh spoke to Moses, saying,
11“Phinehas the son of Eleazar, the son of Aaron the priest, has turned my wrath away from the children of Israel by being zealous with my zeal among them so that I did not consume the children of Israel in my zeal.
12Therefore say, ‘Behold, I give to him my covenant of peace;
13and it will be to him and to his seed after him the covenant of an everlasting priesthood; because he was jealous for his God and made atonement for the children of Israel.’”
14Now the name of the man of Israel that was slain, who was slain with the Midianite woman, was Zimri the son of Salu, a ruler of a fathers’ house among the Simeonites.
15The name of the Midianite woman who was slain was Cozbi, the daughter of Zur; he was head of the people of a fathers’ house in Midian.
16Yahweh spoke to Moses, saying,
17“Harass the Midianites and strike them,
18for they harassed you with their wiles with which they have deceived you in the matter of Peor, and in the matter of Cozbi, the daughter of the chief of Midian, their sister, who was slain on the day of the plague in the matter of Peor.”