Numbers Chapter 25, Verse 4
From BibleWiki
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.
4: Said to Moses: Take all the princes of the people, and hang them
up on gibbets against the sun: that my fury may be turned away from
Israel.
4: And the Lord said to Moses, Take all the princes of the people, and make them examples [of judgment] for the Lord in the face of the sun, and the anger of the Lord shall be turned away from Israel.
Numbers Chapter 25, Verse 4/commentary

