1 When Israel dwelled in Shittim, the people began to prostitute themselves with the daughters of Moab.
2 And they invited the people to the sacrifices of their gods, and the people ate and worshiped their gods.
3 So Israel was joined together to Baal Peor, and Yahweh became angry with Israel.
4 Yahweh said to Moses, “Take all the leaders of the people and kill them before the sun, so the fierce anger of Yahweh will turn from Israel.”
5 So Moses said to the judges of Israel, “Each of you kill his men who are joined together with Baal Peor.”
6 And behold, a man from the Israelites came and brought to his brothers a Midianite woman before the eyes of Moses and before the eyes of all of the community of the Israelites, and they were weeping at the doorway of the tent of assembly.
7 When Phinehas son of Eleazar son of Aaron the priest saw, he got up from the midst of the community and took a spear in his hand.
8 He went after the man of Israel into the woman’s section of the tent, and he drove the two of them, the man of Israel and the woman, into her belly. And the plague among the Israelites stopped.
9 The ones who died in the plague were twenty-four thousand.
10 Yahweh spoke to Moses, saying,
11 “Phinehas son of Eleazar, son of Aaron the priest, turned away my anger from among the Israelites when he was jealous with my jealousy in their midst, and I did not destroy the Israelites with my jealousy.
12 Therefore say, ‘Behold, I am giving to him my covenant of peace,
13 and it will be for him and his offspring after him a covenant of an eternal priesthood because he was jealous for his God and made atonement for the Israelites.’ ”
14 The name of the man of Israel who was struck with the Midianite woman was Zimri son of Salu, a leader of the family of the Simeonites.
15 The name of the Midianite woman who was struck was Cozbi daughter of Zur, a leader of a tribe of the family in Midian.
16 Yahweh spoke to Moses, saying,
17 “Attack the Midianites and strike them
18 because they were attacking you with their deception, with which they have deceived you on the matter of Peor and on the matter of Cozbi the daughter of the leader of Midian, their sister who was struck on the day of the plague because of the matter of Peor.”