The Moabite women invited the men to come and join in their sacrifices to their false gods. So the Israelites joined in worshiping these false gods—they ate the sacrifices and worshiped these gods. There the Israelites began worshiping the false god, Baal of Peor. And the Lord became very angry with them.
The Lord said to Moses, "Get all the leaders of these people. Then kill them so that all the people can see. Lay their bodies before the Lord. Then the Lord will not show his anger against all the Israelites."
So Moses said to Israel's judges, "Each of you must find the men in your tribe who have led people to worship the false god, Baal of Peor. Then you must kill these men."
At the time, Moses and all the elders of Israel were gathered together at the entrance to the Meeting Tent. An Israelite man brought a Midianite woman home to his brothers. He did this where Moses and all the leaders could see. Moses and the leaders were very sad.
Phinehas was the son of Eleazar and the grandson of Aaron the priest. Phinehas saw this man bring the woman into camp. So he left the meeting and got his spear.
He followed the Israelite into the tent. Then he used the spear to kill the Israelite man and the Midianite woman in her tent. He pushed the spear through both of their bodies. At that time there was a great sickness among the Israelites. But when Phinehas killed these two people, the sickness stopped.
"I have strong feelings for my people—I want them to belong only to me! Phinehas son of Eleazar, son of Aaron the priest, saved the Israelites from my anger. He did this by showing those feelings for my people. So I will not kill the people like I wanted to.
This is the agreement: He and all of his family who live after him will always be priests, because he had strong feelings for his God. And he did the things that made the Israelites pure. "
And the name of the Midianite woman who was killed was Cozbi. She was the daughter of Zur. Zur was the head of a family and leader of a Midianite tribe.
They have already made you their enemies. They tricked you at Peor. And they tricked you with the woman named Cozbi. She was the daughter of a Midianite leader, but she was killed when the sickness came to the Israelites. That sickness was caused because the people were tricked into worshiping the false god Baal of Peor."