Numbers 25:1-6

1 And Israel dwelleth in Shittim, and the people begin to go a-whoring unto daughters of Moab,
2 and they call for the people to the sacrifices of their gods, and the people eat, and bow themselves to their gods,
3 and Israel is joined to Baal-Peor, and the anger of Jehovah burneth against Israel.
4 And Jehovah saith unto Moses, `Take all the chiefs of the people, and hang them before Jehovah -- over-against the sun; and the fierceness of the anger of Jehovah doth turn back from Israel.'
5 And Moses saith unto the judges of Israel, `Slay ye each his men who are joined to Baal-Peor.'
6 And lo, a man of the sons of Israel hath come, and bringeth in unto his brethren the Midianitess, before the eyes of Moses, and before the eyes of all the company of the sons of Israel, who are weeping at the opening of the tent of meeting;
Young's Literal Translation is in the public domain.