Deuteronomy 17:3

And hath gone and served other gods, and worshiped them, either the sun, or moon, or any of the host of heaven, which I have not commanded;

Deuteronomy 4:19

And lest thou shouldst lift up thy eyes to heaven, and when thou seest the sun, and the moon, and the stars, even all the host of heaven, shouldst be driven to worship them, and serve them, which the LORD thy God hath divided to all nations under the whole heaven.

Job 31:26-27

If I have beheld the sun when it shined, or the moon walking in brightness;

Jeremiah 7:22-23

For I spoke not to your fathers, nor commanded them in the day that I brought them out of the land of Egypt, concerning burnt-offerings or sacrifices:

Jeremiah 7:31

And they have built the high places of Tophet, which is in the valley of the son of Hinnom, to burn their sons and their daughters in the fire; which I commanded them not, neither came it into my heart.

Jeremiah 19:5

They have built also the high places of Baal, to burn their sons with fire for burnt-offerings to Baal, which I commanded not, nor spoke it, neither came it into my mind:

Jeremiah 32:35

And they built the high places of Baal, which are in the valley of the son of Hinnom, to cause their sons and their daughters to pass through the fire to Molech; which I commanded them not, neither came it into my mind, that they should do this abomination, to cause Judah to sin.

2 Kings 21:3

For he built again the high places which Hezekiah his father had destroyed; and he reared altars for Baal, and made a grove, as did Ahab king of Israel; and worshiped all the host of heaven, and served them.

Jeremiah 8:2

And they shall spread them before the sun, and the moon, and all the host of heaven, whom they have loved, and whom they have served, and after whom they have walked, and whom they have sought, and whom they have worshiped: they shall not be gathered, nor be buried; they shall be for dung upon the face of the earth.

Ezekiel 8:16

And he brought me into the inner court of the LORD'S house, and behold, at the door of the temple of the LORD, between the porch and the altar, were about five and twenty men, with their backs towards the temple of the LORD, and their faces towards the east; and they worshiped the sun towards the east.

Treasury of Scripture Knowledge

Summary

And hath gone and served other gods, and worshipped them, either the sun, or moon, or any of the host of heaven, which I have not commanded;

Bible References

The sun

Deuteronomy 4:19
And lest thou shouldst lift up thy eyes to heaven, and when thou seest the sun, and the moon, and the stars, even all the host of heaven, shouldst be driven to worship them, and serve them, which the LORD thy God hath divided to all nations under the whole heaven.
2 Kings 21:3
For he built again the high places which Hezekiah his father had destroyed; and he reared altars for Baal, and made a grove, as did Ahab king of Israel; and worshiped all the host of heaven, and served them.
Job 31:26
If I have beheld the sun when it shined, or the moon walking in brightness;
Jeremiah 8:2
And they shall spread them before the sun, and the moon, and all the host of heaven, whom they have loved, and whom they have served, and after whom they have walked, and whom they have sought, and whom they have worshiped: they shall not be gathered, nor be buried; they shall be for dung upon the face of the earth.
Ezekiel 8:16
And he brought me into the inner court of the LORD'S house, and behold, at the door of the temple of the LORD, between the porch and the altar, were about five and twenty men, with their backs towards the temple of the LORD, and their faces towards the east; and they worshiped the sun towards the east.