But he did evil in the sight of the Lord, according to the abominations of the nations whom the Lord previously cast out before the sons of Israel.