Deuteronomy 17:3

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

Deuteronomy 4:19

And lest thou lift up thine eyes unto heaven, and when thou seest the sun and the moon and the stars, even all the host of heaven, and should be driven to worship them and serve them because the LORD thy God has conceded them unto all the peoples under all the heavens.

Job 31:26-27

if I beheld the sun when it shone or the moon walking in beauty;

Jeremiah 7:22-23

For I did not speak unto your fathers, nor command 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 did not command them, neither did it come into my heart.

Jeremiah 19:5

and have built high places unto Baal, to burn their sons with fire for burnt offerings unto this same Baal, which I did not command, nor speak, neither did it come into my mind.

Jeremiah 32:35

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

2 Kings 21:3

For he built up again the high places which Hezekiah, his father, had destroyed, and he raised up altars for Baal and made a grove, as Ahab, king of Israel, had done; and he worshipped all the host of heaven and served those things.

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 worshipped: 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 entrance of the temple of the LORD, between the porch and the altar, were about twenty-five men with their backs toward the temple of the LORD and their faces toward the east; and they worshipped the sun toward 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 lift up thine eyes unto heaven, and when thou seest the sun and the moon and the stars, even all the host of heaven, and should be driven to worship them and serve them because the LORD thy God has conceded them unto all the peoples under all the heavens.
2 Kings 21:3
For he built up again the high places which Hezekiah, his father, had destroyed, and he raised up altars for Baal and made a grove, as Ahab, king of Israel, had done; and he worshipped all the host of heaven and served those things.
Job 31:26
if I beheld the sun when it shone or the moon walking in beauty;
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 worshipped: 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 entrance of the temple of the LORD, between the porch and the altar, were about twenty-five men with their backs toward the temple of the LORD and their faces toward the east; and they worshipped the sun toward the east.