And he built altars in the house of the LORD, of which the LORD had said, “In Jerusalem will I put my name.”
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 built altars in the house of the Lord,.... In the holy place, as distinct from the courts in the next verse; and these were sacred to the idols of the Gentiles: of which the Lord said, in Jerusalem will I put my name; in the temple there, devoted to his service, called by his name, and where his name was called upon, see...
Built altars - He placed idolatrous altars even in the temple.