He burned his own son in fire. He did magic and looked for secret signs. He asked people who talk to spirits. He did many bad things and made God angry.
He sacrificed his own son in the fire, practiced sorcery and divination, and consulted mediums and spiritists. He did great evil in the sight of the LORD, provoking Him to anger.
KJV
And he made his son pass through the fire, and observed times, and used enchantments, and dealt with familiar spirits and wizards: he wrought much wickedness in the sight of the LORD, to provoke [him] to anger.
ASV
And he made his son to pass through the fire, and practised augury, and used enchantments, and dealt with them that had familiar spirits, and with wizards: he wrought much evil in the sight of Jehovah, to provoke him to anger.