He did what was evil in the LORD's sight, imitating the detestable practices of the nations that the LORD had dispossessed before the Israelites.