Deuteronomy 17:3

And he will go and serve other gods and will worship to them, and to the sun or to the moon, or to any of the army of the heavens, which I commanded not;

Deuteronomy 4:19

And lest thou shalt lift up thine eyes to the heavens, and seeing the sun and the moon and the stars, all the army of the heavens, and thou wert driven and didst worship to them, and didst serve them, which Jehovah thy God divided them out to all the peoples under all the heavens.

Job 31:26-27

If I shall see the light when it shall shine, and the moon going in splendor;

Jeremiah 7:22-23

for I spake not to your fathers, and I commanded them not in the day of bringing them forth out of the land of Egypt, concerning my word of burnt-offering and sacrifice:

Jeremiah 7:31

And they built heights to Tophet which is in the valley of the son of Hinnom, to burn their sons and their daughters in fire; which I commanded not, and it came not upon my heart.

Jeremiah 19:5

And they built the heights of Baal to burn their sons with fire, burnt-offerings to Baal, which I commanded not, and I spake not, and it came not up upon my heart.

Jeremiah 32:35

And they will build the heights of Baal which are in the valley of the son of Hinnom, to cause their sons and their daughters to pass through to Molech, which I commanded them not; and it came not up upon my heart to do this abomination to cause Judah to sin.

2 Kings 21:3

And he will turn back and build the heights which Hezekiah his father destroyed; and he will raise up altars to Baal, and make a statue as did Ahab king of Israel; and he will worship to all the army of the heavens, and serve' them.

Jeremiah 8:2

And they spread them to the sun and to the moon, and to all the army of the heavens which they loved, and which they served, and which they, went after, and which they sought and which they worshiped to them: they shall not be gathered and they shall not be buried; they shall be for dung upon the face of the earth.

Ezekiel 8:16

And he brought me to the enclosure of the house of Jehovah within, and behold, a door of the temple of Jehovah, and between the porch and between the altar, about twenty and five men, their backs to the temple, and their faces to the east; and they worshiping the east to the sun.

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 shalt lift up thine eyes to the heavens, and seeing the sun and the moon and the stars, all the army of the heavens, and thou wert driven and didst worship to them, and didst serve them, which Jehovah thy God divided them out to all the peoples under all the heavens.
2 Kings 21:3
And he will turn back and build the heights which Hezekiah his father destroyed; and he will raise up altars to Baal, and make a statue as did Ahab king of Israel; and he will worship to all the army of the heavens, and serve' them.
Job 31:26
If I shall see the light when it shall shine, and the moon going in splendor;
Jeremiah 8:2
And they spread them to the sun and to the moon, and to all the army of the heavens which they loved, and which they served, and which they, went after, and which they sought and which they worshiped to them: they shall not be gathered and they shall not be buried; they shall be for dung upon the face of the earth.
Ezekiel 8:16
And he brought me to the enclosure of the house of Jehovah within, and behold, a door of the temple of Jehovah, and between the porch and between the altar, about twenty and five men, their backs to the temple, and their faces to the east; and they worshiping the east to the sun.