They have done these things to you, because you have fornicated after the Gentiles, among whom you were defiled by their idols
Other versions
King James Version
I will do these things unto thee, because thou hast gone a whoring after the heathen, and because thou art polluted with their idols.English Standard Version
have brought this upon you, because you played the whore with the nations and defiled yourself with their idols.New International Version
have brought this upon you, because you lusted after the nations and defiled yourself with their idols.