Deuteronomy 4:19

When you look to the heavens and see the sun, moon, and stars—all the array of heaven—do not be led astray to bow down and worship them. The Lord your God has provided them for all people everywhere under heaven.

Deuteronomy 17:3

and has gone to worship other gods by bowing down to the sun, moon, or all the stars in the sky—which I have forbidden—

2 Kings 17:16

They abandoned all the commands of the Lord their God. They made cast images for themselves, two calves, and an Asherah pole. They worshiped the whole heavenly host and served Baal.

2 Kings 21:3

He rebuilt the high places that his father Hezekiah had destroyed and reestablished the altars for Baal. He made an Asherah, as King Ahab of Israel had done; he also worshiped the whole heavenly host and served them.

Genesis 2:1

So the heavens and the earth and everything in them were completed.

Romans 1:25

They exchanged the truth of God for a lie, and worshiped and served something created instead of the Creator, who is praised forever. Amen.

Genesis 1:16-18

God made the two great lights—the greater light to have dominion over the day and the lesser light to have dominion over the night—as well as the stars.

Joshua 10:12-13

On the day the Lord gave the Amorites over to the Israelites, Joshua spoke to the Lord in the presence of Israel:

“Sun, stand still over Gibeon,
and moon, over the Valley of Aijalon.”

2 Kings 23:4-5

Then the king commanded Hilkiah the high priest and the priests of the second rank and the doorkeepers to bring out of the Lord’s temple all the articles made for Baal, Asherah, and the whole heavenly host. He burned them outside Jerusalem in the fields of the Kidron and carried their ashes to Bethel.

2 Kings 23:11

He did away with the horses that the kings of Judah had dedicated to the sun. They had been at the entrance of the Lord’s temple in the precincts by the chamber of Nathan-melech the court official, and he burned up the chariots of the sun.

Nehemiah 9:6

You alone are Yahweh.
You created the heavens,
the highest heavens with all their host,
the earth and all that is on it,
the seas and all that is in them.
You give life to all of them,
and the heavenly host worships You.

Job 31:26-28

if I have gazed at the sun when it was shining
or at the moon moving in splendor,

Psalm 74:16-17

The day is Yours, also the night;
You established the moon and the sun.

Psalm 136:7-9

He made the great lights:
        His love is eternal.

Psalm 148:3-5

Praise Him, sun and moon;
praise Him, all you shining stars.

Jeremiah 8:2

They will be exposed to the sun, the moon, and the whole heavenly host, which they have loved, served, followed, consulted, and worshiped. Their bones will not be collected and buried but will become like manure on the surface of the soil.

Jeremiah 19:13

The houses of Jerusalem and the houses of the kings of Judah will become impure like that place Topheth—all the houses on whose rooftops they have burned incense to the whole heavenly host and poured out drink offerings to other gods.”

Jeremiah 31:35

This is what the Lord says:

The One who gives the sun for light by day,
the fixed order of moon and stars for light by night,
who stirs up the sea and makes its waves roar
Yahweh of Hosts is His name:

Jeremiah 33:25

This is what the Lord says: If I do not keep My covenant with the day and with the night and fail to establish the fixed order of heaven and earth,

Ezekiel 8:16

So He brought me to the inner court of the Lord’s house, and there were about 25 men at the entrance of the Lord’s temple, between the portico and the altar, with their backs to the Lord’s temple and their faces turned to the east. They were bowing to the east in worship of the sun.

Amos 5:25-26

“House of Israel, was it sacrifices and grain offerings that you presented to Me during the 40 years in the wilderness?

Zephaniah 1:5

those who bow in worship on the rooftops
to the heavenly host;
those who bow and pledge loyalty to the Lord
but also pledge loyalty to Milcom;

Matthew 5:45

so that you may be sons of your Father in heaven. For He causes His sun to rise on the evil and the good, and sends rain on the righteous and the unrighteous.

Acts 7:42

Then God turned away and gave them up to worship the host of heaven, as it is written in the book of the prophets:

House of Israel, did you bring Me offerings and sacrifices
40 years in the wilderness?

Treasury of Scripture Knowledge

Summary

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, shouldest be driven to worship them, and serve them, which the LORD thy God hath divided unto all nations under the whole heaven.

Bible References

When thou

Deuteronomy 17:3
and has gone to worship other gods by bowing down to the sun, moon, or all the stars in the sky—which I have forbidden—
2 Kings 23:4
Then the king commanded Hilkiah the high priest and the priests of the second rank and the doorkeepers to bring out of the Lord’s temple all the articles made for Baal, Asherah, and the whole heavenly host. He burned them outside Jerusalem in the fields of the Kidron and carried their ashes to Bethel.
Job 31:26
if I have gazed at the sun when it was shining
or at the moon moving in splendor,
Jeremiah 8:2
They will be exposed to the sun, the moon, and the whole heavenly host, which they have loved, served, followed, consulted, and worshiped. Their bones will not be collected and buried but will become like manure on the surface of the soil.
Ezekiel 8:16
So He brought me to the inner court of the Lord’s house, and there were about 25 men at the entrance of the Lord’s temple, between the portico and the altar, with their backs to the Lord’s temple and their faces turned to the east. They were bowing to the east in worship of the sun.
Amos 5:25
“House of Israel, was it sacrifices and grain offerings that you presented to Me during the 40 years in the wilderness?

Which the lord

Genesis 1:16
God made the two great lights—the greater light to have dominion over the day and the lesser light to have dominion over the night—as well as the stars.
Joshua 10:12
On the day the Lord gave the Amorites over to the Israelites, Joshua spoke to the Lord in the presence of Israel:

“Sun, stand still over Gibeon,
and moon, over the Valley of Aijalon.”
Nehemiah 9:6
You alone are Yahweh.
You created the heavens,
the highest heavens with all their host,
the earth and all that is on it,
the seas and all that is in them.
You give life to all of them,
and the heavenly host worships You.
Psalm 74:16
The day is Yours, also the night;
You established the moon and the sun.
Psalm 136:7
He made the great lights:
        His love is eternal.
Psalm 148:3
Praise Him, sun and moon;
praise Him, all you shining stars.
Jeremiah 31:35
This is what the Lord says:

The One who gives the sun for light by day,
the fixed order of moon and stars for light by night,
who stirs up the sea and makes its waves roar
Yahweh of Hosts is His name:
Jeremiah 33:25
This is what the Lord says: If I do not keep My covenant with the day and with the night and fail to establish the fixed order of heaven and earth,
Matthew 5:45
so that you may be sons of your Father in heaven. For He causes His sun to rise on the evil and the good, and sends rain on the righteous and the unrighteous.

General references

Exodus 20:4
Do not make an idol for yourself, whether in the shape of anything in the heavens above or on the earth below or in the waters under the earth.
Psalm 104:19
He made the moon to mark the festivals;
the sun knows when to set.
Psalm 136:7
He made the great lights:
        His love is eternal.
1 Corinthians 15:41
There is a splendor of the sun, another of the moon, and another of the stars; for one star differs from another star in splendor.

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.