Numbers 25:2-4

ERV(i) 2 for they called the people unto the sacrifices of their gods; and the people did eat, and bowed down to their gods. 3 And Israel joined himself unto Baal-peor: and the anger of the LORD was kindled against Israel. 4 And the LORD said unto Moses, Take all the chiefs of the people, and hang them up unto the LORD before the sun, that the fierce anger of the LORD may turn away from Israel.