2 Kings 21:5

5 And he buildeth altars to all the host of the heavens in the two courts of the house of Jehovah;

2 Kings 21:5 Meaning and Commentary

2 Kings 21:5

And he built altars for all the host of heaven
Sun, moon, and stars:

in the two courts of the house of the Lord;
in the court of the priests, and in the court of the people; and all this must be supposed to be done, not as soon as he began to reign, but when he was grown up to man's estate, and had children, as the next verse shows; unless it can be thought that those nobles in Judah, who liked not the reformation made by Hezekiah, took the advantage of his youth, and advised him to these idolatries.

2 Kings 21:5 In-Context

3 and he turneth and buildeth the high places that Hezekiah his father destroyed, and raiseth altars for Baal, and maketh a shrine, as did Ahab king of Israel, and boweth himself to all the host of the heavens, and serveth them.
4 And he hath built altars in the house of Jehovah, of which Jehovah said, `In Jerusalem I put My name.'
5 And he buildeth altars to all the host of the heavens in the two courts of the house of Jehovah;
6 and he hath caused his son to pass through fire, and observed clouds, and used enchantment, and dealt with a familiar spirit and wizards; he hath multiplied to do the evil thing in the eyes of Jehovah -- to provoke to anger.
7 And he setteth the graven image of the shrine that he made in the house of which Jehovah said unto David and unto Solomon his son, `In this house, and in Jerusalem, that I have chosen out of all the tribes of Israel, I put My name -- to the age;
Young's Literal Translation is in the public domain.