And they made their sons and their daughters to pass through the fire and used divination and interpreted omens and sold themselves to do what was evil in the eyes of Yahweh, making him angry. Bible other translations

“used divination and interpreted omens.” See Deuteronomy 18:10.

“and sold themselves.” The idiom means to be totally dedicated, and may involve dedication to the point of self-enslavement (HALOT).

Commentary for: 2 Kings 17:17