It is implied that this refers to the leaders who were guilty of idolatry. The full meaning of this statement can be made clear. Alternate translation: "all the leaders of the people who are guilty of idolatry" (See: [[rc://en/ta/man/translate/figs-explicit]])