"Divination" is the use of magic gain information. "Enchantments" are sets of words that people believe have magic power over people and things. These two words together form a merism. Alternate translation: "practiced all kinds of magic" (See: [[rc://en/ta/man/jit/figs-merism]])
To "sell themselves" is a metaphor for committing completely to do that which was evil. Alternate translation: "committed themselves to do things that Yahweh said were evil" (See: [[rc://en/ta/man/jit/figs-metaphor]])