He committed the most detestable acts by going after idols, like the Amorites the LORD had driven out before the Israelites.)