Numbers 25:4-5

EJ2000(i) 4 And the LORD said unto Moses, Take all the princes of the people and disjoint them before the LORD hanging them from a tree against the sun, that the fierce anger of the LORD may be turned away from Israel. 5 Then Moses said unto the judges of Israel, Slay ye every one his men that were joined unto Baalpeor.