Numbers 25:5

5 Moses said to the judges of Israel, Kill you everyone his men who have joined themselves to Baal-peor.

Numbers 25:5 In-Context

3 Israel joined himself to Baal-peor: and the anger of Yahweh was kindled against Israel.
4 Yahweh said to Moses, Take all the chiefs of the people, and hang them up to Yahweh before the sun, that the fierce anger of Yahweh may turn away from Israel.
5 Moses said to the judges of Israel, Kill you everyone his men who have joined themselves to Baal-peor.
6 Behold, one of the children of Israel came and brought to his brothers a Midianite woman in the sight of Moses, and in the sight of all the congregation of the children of Israel, while they were weeping at the door of the tent of meeting.
7 When Phinehas, the son of Eleazar, the son of Aaron the priest, saw it, he rose up from the midst of the congregation, and took a spear in his hand;
The World English Bible is in the public domain.