He acted very abominably in going after idols, as the Amorites had done, whom the Lord cast out before the people of Israel.)