This implies that she slept with all of these men and worshiped the idols they worshiped. Alternate translation: "she made herself unclean by sleeping with everyone she lusted for and by worshiping all their idols" (See: [[rc://en/ta/man/translate/figs-explicit]])
A person who God considers spiritually unacceptable or defiled is spoken of as if the person were physically unclean. (See: [[rc://en/ta/man/translate/figs-metaphor]])