They defiled themselves by their actions and prostituted themselves by their deeds.
Thus were they defiled with their own works, and went a whoring with their own inventions.