He committed the most detestable acts by going after idols as the Amorites had, whom the Lord had dispossessed before the Israelites.