Numbers 25:5
“And Moses said unto the judges of Israel, Slay ye every one his men that were joined unto Baal–peor.”
And Israel joined himself unto Baal–peor: and the anger of the Lord was kindled against Israel.
And the Lord said unto Moses, Take all the heads of the people, and hang them up before the Lord against the sun, that the fierce anger of the Lord may be turned away from Israel.
And Moses said unto the judges of Israel, Slay ye every one his men that were joined unto Baal–peor.
And, behold, one of the children of Israel came and brought unto 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.
And when Phinehas, the son of Eleazar, the son of Aaron the priest, saw it, he rose up from among the congregation, and took a javelin in his hand;
Counter-Arguments
The strongest case that this verse does not belong in this theme.

Cross-References
“And he said unto them, Thus saith the Lord God of Israel, Put every man his sword by his side, and go in and out from gate to gate throughout the camp, and slay every man his brother, and every man his companion, and every man his neighbour.”
“And Israel joined himself unto Baal–peor: and the anger of the Lord was kindled against Israel.”
“But thou shalt surely kill him; thine hand shall be first upon him to put him to death, and afterwards the hand of all the people.”
“And hath gone and served other gods, and worshipped them, either the sun, or moon, or any of the host of heaven, which I have not commanded;”
“Certain men, the children of Belial, are gone out from among you, and have withdrawn the inhabitants of their city, saying, Let us go and serve other gods, which ye have not known;”