While Israel was staying in Shittim,1 the men began to indulge in sexual immorality2 with Moabite3 women,42
who invited them to the sacrifices5 to their gods.6 The people ate and bowed down before these gods.
So Israel joined in worshiping7 the Baal of Peor.8 And the LORD's anger burned against them.
The LORD said to Moses, "Take all the leaders9 of these people, kill them and expose10 them in broad daylight before the LORD,11 so that the LORD's fierce anger12 may turn away from Israel."
So Moses said to Israel's judges, "Each of you must put to death13 those of your men who have joined in worshiping the Baal of Peor."146
Then an Israelite man brought to his family a Midianite15 woman right before the eyes of Moses and the whole assembly of Israel while they were weeping16 at the entrance to the Tent of Meeting.
When Phinehas17 son of Eleazar, the son of Aaron, the priest, saw this, he left the assembly, took a spear18 in his hand
and followed the Israelite into the tent. He drove the spear through both of them--through the Israelite and into the woman's body. Then the plague against the Israelites was stopped;199
but those who died in the plague20 numbered 24,000.2110
The LORD said to Moses,
"Phinehas son of Eleazar, the son of Aaron, the priest, has turned my anger away from the Israelites;22 for he was as zealous as I am for my honor23 among them, so that in my zeal I did not put an end to them.
Therefore tell him I am making my covenant of peace24 with him.
He and his descendants will have a covenant of a lasting priesthood,25 because he was zealous26 for the honor27 of his God and made atonement28 for the Israelites."2914
The name of the Israelite who was killed with the Midianite woman30 was Zimri son of Salu, the leader of a Simeonite family.3115
And the name of the Midianite woman who was put to death was Cozbi32 daughter of Zur, a tribal chief of a Midianite family.3316
The LORD said to Moses,3417
"Treat the Midianites35 as enemies36 and kill them,3718
because they treated you as enemies when they deceived you in the affair of Peor38 and their sister Cozbi, the daughter of a Midianite leader, the woman who was killed when the plague came as a result of Peor."