He did evil in the eyes of the Lord, following the detestable practices of the nations the Lord had driven out before the Israelites.