He committed the most detestable acts by following idols as the Amorites had, whom the LORD had dispossessed before the Israelites.