NASB
"The LORD said to Moses, "Take all the leaders of the people and execute them in broad daylight before the LORD, so that the fierce anger of the LORD may turn away from Israel.""
— Numbers 25:4, NASB
“And Jehovah said unto Moses, Take all the chiefs of the people, and hang them up unto Jehovah before the sun, that the fierce anger of Jehovah may turn away from 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.”
While Israel remained at Shittim, the people began to play the harlot with the daughters of Moab.
For they invited the people to the sacrifices of their gods, and the people ate and bowed down to their gods.
So Israel joined themselves to Baal of Peor, and the LORD was angry against Israel.
The LORD said to Moses, "Take all the leaders of the people and execute them in broad daylight before the LORD, so that the fierce anger of the LORD may turn away from Israel."
So Moses said to the judges of Israel, "Each of you slay his men who have joined themselves to Baal of Peor."
Then behold, one of the sons of Israel came and brought to his relatives a Midianite woman, in the sight of Moses and in the sight of all the congregation of the sons of Israel, while they were weeping at the doorway of the tent of meeting.
When Phinehas the son of Eleazar, the son of Aaron the priest, saw it, he arose from the midst of the congregation and took a spear in his hand,