25 When Isra'Al was dwelling in Shitʹtim, the people started to commit sexual immorality with the daughters of Moʹab. 2 The women invited the people to the sacrifices of their gods, and the people began to eat and to bow down to their gods. 3 So Isra'Al joined in worship of the Baʹal of Peʹor, and Ahv'ah {Heb. Yahvah} became enraged with Isra'Al. 4 Ahv'ah {Heb. Yahvah} said to Moses: “Take all the leaders of these people and hang them up before Ahv'ah {Heb. Yahvah} in broad daylight, that the burning anger of Ahv'ah {Heb. Yahvah} may turn back from Isra'Al.” 5 Then Moses said to the judges of Isra'Al: “Each one of you should kill his men who joined in worship of the Baʹal of Peʹor.”
6 But just then, there came one of the Isra'Al·ites bringing near to his brothers a Midʹi·an·ite woman before the eyes of Moses and of all the assembly of the Isra'Al·ites, while they were weeping at the entrance of the tent of meeting. 7 When Phinʹe·has the son of Al·e·aʹzar the son of Aaron the priest saw it, he immediately rose up from the midst of the assembly and took a spear in his hand. 8 Then he went after the man of Isra'Al into the tent and pierced both of them through, the man of Isra'Al and the woman through her genital parts. At that the scourge on the Isra'Al·ites was halted. 9 Those who died from the scourge amounted to 24,000.
10 Then Ahv'ah {Heb. Yahvah} said to Moses: 11 “Phinʹe·has the son of Al·e·aʹzar the son of Aaron the priest has turned my wrath away from the people of Isra'Al because he tolerated no rivalry at all toward me among them. So I have not exterminated the Isra'Al·ites in my insistence on exclusive devotion. 12 Therefore, say, ‘I am giving him my covenant of peace. 13 And it will serve as the covenant of a lasting priesthood for him and his offspring after him, because he tolerated no rivalry toward his Al {pre. Ahl} and he made atonement for the people of Isra'Al.’”
14 Incidentally, the name of the Isra'Al·ite man who was put to death along with the Midʹi·an·i·tess was Zimʹri the son of Saʹlu, a chieftain of a paternal house of the Simʹe·on·ites. 15 The name of the Midʹi·an·ite woman who was put to death was Cozʹbi the daughter of Zur; he was a leader of the clans of a paternal house in Midʹi·an.
16 Ahv'ah {Heb. Yahvah} later said to Moses: 17 “Harass the Midʹi·an·ites and strike them down, 18 because they have been harassing you with their cunning dealings against you in the affair of Peʹor and of Cozʹbi the daughter of a chieftain of Midʹi·an, their sister who was put to death in the day of the scourge over the affair of Peʹor.”