He walked in the ways of the kings of Israel and even sacrificed his son in the fire, following the detestable ways of the nations the Lord had driven out before the Israelites.