Deuteronomy 17:3

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

Deuteronomy 4:19

and lest you lift up your eyes to the sky, and when you see the sun and the moon and the stars, even all the host of heaven, you are drawn away and worship them, and serve them, which the LORD your God has allotted to all the peoples under the whole sky.

Job 31:26-27

if I have seen the sun when it shined, or the moon moving in splendor,

Jeremiah 7:22-23

For I did not speak to 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

They have built the high places of Topheth, 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, nor did it come into my mind.

Jeremiah 19:5

and have built the high places of Baal, to burn their sons in the fire for burnt offerings to Baal; which I did not command, nor spoke it, neither came it into my mind:

Jeremiah 32:35

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 fire to 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 again the high places which Hezekiah his father had destroyed; and he reared up altars for Baal, and made an Asherah, 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, which they have loved, and which they have served, and after which they have walked, and which they have sought, and which they have worshiped: they shall not be gathered, nor be buried, they shall be for dung on the surface of the earth.

Ezekiel 8:16

He brought me into the inner court of the LORD's house; and see, at the door of the LORD's temple, between the porch and the altar, were about twenty-five men, with their backs toward the LORD's temple, and their faces toward the east; and they were worshipping 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 you lift up your eyes to the sky, and when you see the sun and the moon and the stars, even all the host of heaven, you are drawn away and worship them, and serve them, which the LORD your God has allotted to all the peoples under the whole sky.
2 Kings 21:3
For he built again the high places which Hezekiah his father had destroyed; and he reared up altars for Baal, and made an Asherah, as did Ahab king of Israel, and worshiped all the host of heaven, and served them.
Job 31:26
if I have seen the sun when it shined, or the moon moving in splendor,
Jeremiah 8:2
and they shall spread them before the sun, and the moon, and all the host of heaven, which they have loved, and which they have served, and after which they have walked, and which they have sought, and which they have worshiped: they shall not be gathered, nor be buried, they shall be for dung on the surface of the earth.
Ezekiel 8:16
He brought me into the inner court of the LORD's house; and see, at the door of the LORD's temple, between the porch and the altar, were about twenty-five men, with their backs toward the LORD's temple, and their faces toward the east; and they were worshipping the sun toward the east.