And he did evil in the sight of the LORD by following the abominations of the nations that the LORD had driven out before the Israelites.
How delightful were our meditations on the last reign! How many pleasing views had we of Sion in its glory (that is, in its purity and in its triumphs), of the king in his beauty! (for Isa 33:17 refers to Hezekiah), and (as it follows there, Kg2 21:20) Jerusalem was a quiet habitation because a city of righteousness, Isa 1:26.
Commenting on 2 Kings 21:1-9
And he did that which was evil in the sight of the Lord,.... Was guilty of idolatry: after the abomination of the Heathen, whom the Lord cast out before the children of Israel: the old Canaanites; he committed idolatry in imitation of them, and as the Phoenicians now did before the children of Israel: the old Canaanites; he committed idolatry in imitation of them, and as the Phoenicians now did.
After the abominations of the heathen - He exactly copied the conduct of those nations which God had cast out of that land.