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.

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,

2 Kings 17:16

And they left all the commandments of the LORD their God and made themselves molten images, even two calves, and made groves and worshipped all the host of heaven and served Baal;

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.

Genesis 2:1

Thus the heavens and the earth were finished, and all the host of them.

Romans 1:25

who changed the truth of God into a lie and worshipped and served the creature rather than the Creator, who is blessed for all ages. Amen.

Genesis 1:16-18

And God made two great lights: the greater light to rule the day, and the lesser light to rule the night; he made the stars also.

Joshua 10:12-13

Then Joshua spoke unto the LORD in the day when the LORD delivered up the Amorites before the sons of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.

2 Kings 23:4-5

And the king commanded Hilkiah, the high priest, and the priests of the second order and the keepers of the door, to bring forth out of the temple of the LORD all the vessels that had been made for Baal and for the grove and for all the host of heaven; and he burned them outside Jerusalem in the fields of Kidron and caused their dust to be carried unto Bethel.

2 Kings 23:11

And he took away the horses that the kings of Judah had dedicated to the sun, at the entrance of the house of the LORD, by the chamber of Nathanmelech, the chamberlain who was in charge of the Parbar, and burned the chariots of the sun with fire.

Nehemiah 9:6

Thou, O LORD, art alone; thou hast made the heavens and the heavens of the heavens, with all their host, the earth and all things that are therein, the seas and all that is therein, and thou givest life to them all; and the host of the heavens worship thee.

Job 31:26-28

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

Psalm 74:16-17

The day is thine, the night also is thine; thou hast prepared the light and the sun.

Psalm 136:7-9

To him that made the great lights: for his mercy endures for ever:

Psalm 148:3-5

Praise ye him, sun and moon; praise him, all ye stars of light.

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.

Jeremiah 19:13

And the houses of Jerusalem and the houses of the kings of Judah, shall be as the place of Tophet, defiled, because of all the houses upon whose roofs they have burned incense unto all the host of the heaven and have poured out drink offerings unto other gods.

Jeremiah 31:35

Thus hath the LORD said, who gives the sun for light by day, and the laws of the moon and of the stars for light by night, who divides the sea and the waves thereof roar; The LORD of the hosts is his name;

Jeremiah 33:25

Thus hath the LORD said: If my covenant remains not with the day and the night, and if I have not appointed the laws of the heaven and 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.

Amos 5:25-26

Did you perchance offer me any sacrifices and offerings in the wilderness in forty years, O house of Israel?

Zephaniah 1:5

and those that worship the host of heaven upon the housetops and those that worship swearing by the LORD and by their king

Matthew 5:45

that ye may be sons of your Father who is in the heavens, for he makes his sun to rise on the evil and on the good and sends rain on the just and on the unjust.

Acts 7:42

Then God withdrew and gave them up to worship the host of the heaven; as it is written in the book of the prophets, O ye house of Israel, have ye offered to me slain beasts and sacrifices by the space of forty 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 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,
2 Kings 23:4
And the king commanded Hilkiah, the high priest, and the priests of the second order and the keepers of the door, to bring forth out of the temple of the LORD all the vessels that had been made for Baal and for the grove and for all the host of heaven; and he burned them outside Jerusalem in the fields of Kidron and caused their dust to be carried unto Bethel.
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.
Amos 5:25
Did you perchance offer me any sacrifices and offerings in the wilderness in forty years, O house of Israel?

Which the lord

Genesis 1:16
And God made two great lights: the greater light to rule the day, and the lesser light to rule the night; he made the stars also.
Joshua 10:12
Then Joshua spoke unto the LORD in the day when the LORD delivered up the Amorites before the sons of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.
Nehemiah 9:6
Thou, O LORD, art alone; thou hast made the heavens and the heavens of the heavens, with all their host, the earth and all things that are therein, the seas and all that is therein, and thou givest life to them all; and the host of the heavens worship thee.
Psalm 74:16
The day is thine, the night also is thine; thou hast prepared the light and the sun.
Psalm 136:7
To him that made the great lights: for his mercy endures for ever:
Psalm 148:3
Praise ye him, sun and moon; praise him, all ye stars of light.
Jeremiah 31:35
Thus hath the LORD said, who gives the sun for light by day, and the laws of the moon and of the stars for light by night, who divides the sea and the waves thereof roar; The LORD of the hosts is his name;
Jeremiah 33:25
Thus hath the LORD said: If my covenant remains not with the day and the night, and if I have not appointed the laws of the heaven and the earth,
Matthew 5:45
that ye may be sons of your Father who is in the heavens, for he makes his sun to rise on the evil and on the good and sends rain on the just and on the unjust.

General references

Exodus 20:4
Thou shalt not make unto thee any graven image or any likeness of any thing that is in heaven above or that is in the earth beneath nor that is in the water under the earth.
Psalm 104:19
He appointed the moon for times and seasons; the sun knows his going down.
Psalm 136:7
To him that made the great lights: for his mercy endures for ever:
1 Corinthians 15:41
One thing is the glory of the sun, and another the glory of the moon, and another the glory of the stars; for one star differs from another star in glory.