Jewish Publication Society of America Version (JPS1917) - Numbers 25:4 >

And the LORD said unto Moses: 'Take all the chiefs of the people, and hang them up unto the LORD in face of the sun, that the fierce anger of the LORD may turn away from Israel.'

King James Version (KJV) - Numbers 25:4 >

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.

Berean Study Bible (BSB) - Numbers 25:4 >

Then the LORD said to Moses, “Take all the leaders of the people and execute them in broad daylight before the LORD, so that His fierce anger may turn away from Israel.”