Numbers 25
2And they called the people to the sacrifices of their gods: and the people ate, and bowed down to their gods.
5And Moses said to the judges of Israel, Slay ye every one his men that were joined to Baal-peor.
6And, behold, one of the children of Israel came and brought to his brethren a Midianitish woman in the sight of Moses, and in the sight of all the congregation of the children of Israel, who were weeping before the door of the tabernacle of the congregation.
9And those that died in the plague were twenty and four thousand.
10And the LORD spoke to Moses, saying,
11Phinehas, the son of Eleazar, the son of Aaron the priest, hath turned my wrath away from the children of Israel, (while he was zealous for my sake among them,) that I consumed not the children of Israel in my jealousy.
12Wherefore say, Behold, I give to him my covenant of peace.
13And he shall have it, and his seed after him, even the covenant of an everlasting priesthood; because he was zealous for his God, and made an atonement for the children of Israel.
16And the LORD spoke to Moses, saying,
17Distress the Midianites, and smite them:
18For they distress you with their wiles, with which they have beguiled you in the matter of Peor, and in the matter of Cozbi, the daughter of a prince of Midian their sister, who was slain in the day of the plague for Peor's sake.