Numbers 25:4-5

MLV(i) 4 And Jehovah said to Moses, Take all the chiefs of the people and hang them up to Jehovah before the sun, that the fierce anger of Jehovah may turn away from Israel. 5 And Moses said to the judges of Israel, Kill you* every one his men who have joined themselves to Baal-peor.