Thus were they defiled
tame' (taw-may')
to be foul, especially in a ceremial or moral sense (contaminated) -- defile (self), pollute (self), be (make, make self, pronounce) unclean, utterly.
with their own works
ma`aseh (mah-as-eh')
an action (good or bad); generally, a transaction; abstractly, activity; by implication, a product (specifically, a poem) or (generally) property
and went a whoring
zanah (zaw-naw')
to commit adultery; figuratively, to commit idolatry (the Jewish people being regarded as the spouse of Jehovah)
with their own inventions
ma`alal (mah-al-awl')
an act (good or bad) -- doing, endeavour, invention, work.