He did very abominably in going after idols, as had the Amorites, whom the Lord cast out before the Israelites.