Deuteronomy 4:19

and lest you lift up your eyes to the heavens, and when you see the sun, and the moon, and the stars, all the host of heaven, lest you should be driven to worship them and serve them, which Jehovah your God has allotted to all nations under all the heavens.

Deuteronomy 17:3

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

2 Kings 17:16

And they left all the commandments of Jehovah their God, and made molten images, two calves, for themselves. And they made an Asherah and worshiped all the host of heaven, and served Baal.

2 Kings 21:3

For he built up again the high places which his father Hezekiah had destroyed. And he reared up altars for Baal, and made an Asherah, as Ahab king of Israel did. And he worshiped all the host of heaven, and served them.

Genesis 2:1

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

Romans 1:25

For they changed the truth of God into a lie, and they worshiped and served the created thing more than the Creator, who is blessed forever. Amen.

Genesis 1:16-18

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

Joshua 10:12-13

Then Joshua spoke to Jehovah in the day when Jehovah delivered up the Amorites before the sons of Israel, and he said in the sight of Israel, Sun! Stand still on Gibeon! And, moon, stand still in the valley of Aijalon!

2 Kings 23:4-5

And the king commanded Hilkiah the high priest, and the priests of the second order, and the doorkeepers, to bring forth out of the temple of Jehovah all the vessels which were made for Baal, and for the Asherah, and for all the host of heaven. And he burned them outside Jerusalem in the fields of Kidron, and carried the ashes of them to Bethel.

2 Kings 23:11

And he took away the horses which the kings of Judah had given to the sun, at the entering in of the house of Jehovah, by the room of Nathan-melech the eunuch, which was in the suburbs. And he burned the chariots of the sun with fire.

Nehemiah 9:6

You, even You, are Jehovah alone. You have made the heavens, heaven of the heavens, with all their host, the earth, and all things on it, the seas, and all in them, and You preserve them all. And the host of the heavens worships You.

Job 31:26-28

if I looked to the light when it shone, or the moon walking in brightness,

Psalm 74:16-17

The day is Yours, the night also is Yours; You have prepared the light and the sun.

Psalm 136:7-9

To Him who made great lights; for His mercy endures forever.

Psalm 148:3-5

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

Jeremiah 8:2

And they shall spread them before the sun, and the moon, and all the host of the heavens, whom they have loved and whom they have served, and after whom they have walked, and whom they have sought, and whom they have worshiped. They shall not be gathered nor buried; they shall be as dung on the face of the earth.

Jeremiah 19:13

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

Jeremiah 31:35

So says Jehovah, who gives the sun for a light by day and the laws of the moon and of the stars for a light by night, who divides the sea when its waves roar; Jehovah of Hosts is His name;

Jeremiah 33:25

So says Jehovah: If My covenant is not with day and night, and if I have not given the ordinances of the heavens and the earth,

Ezekiel 8:16

And He brought me into the inner court of Jehovah's house, and behold, at the opening of the temple of Jehovah, between the porch and the altar, were about twenty-five men with their backs toward the temple of Jehovah and their faces toward the east; and they bowed themselves eastward to the sun.

Amos 5:25-26

Have you offered sacrifices and offerings to Me forty years in the wilderness, O house of Israel?

Zephaniah 1:5

and those bowing to the host of heaven on the housetops, and those bowing, swearing to Jehovah, also swearing by Malcham;

Matthew 5:45

so that you may become sons of your Father in Heaven. 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 turned and gave them over to serve the host of the heavens, as it is written in the book of the Prophets: "O house of Israel, have you offered to Me slain beasts and sacrifices 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 worshiped them, either the sun, or 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 doorkeepers, to bring forth out of the temple of Jehovah all the vessels which were made for Baal, and for the Asherah, and for all the host of heaven. And he burned them outside Jerusalem in the fields of Kidron, and carried the ashes of them to Bethel.
Job 31:26
if I looked to the light when it shone, or the moon walking in brightness,
Jeremiah 8:2
And they shall spread them before the sun, and the moon, and all the host of the heavens, whom they have loved and whom they have served, and after whom they have walked, and whom they have sought, and whom they have worshiped. They shall not be gathered nor buried; they shall be as dung on the face of the earth.
Ezekiel 8:16
And He brought me into the inner court of Jehovah's house, and behold, at the opening of the temple of Jehovah, between the porch and the altar, were about twenty-five men with their backs toward the temple of Jehovah and their faces toward the east; and they bowed themselves eastward to the sun.
Amos 5:25
Have you offered sacrifices and offerings to Me forty years in the wilderness, 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 smaller light to rule the night, and the stars also.
Joshua 10:12
Then Joshua spoke to Jehovah in the day when Jehovah delivered up the Amorites before the sons of Israel, and he said in the sight of Israel, Sun! Stand still on Gibeon! And, moon, stand still in the valley of Aijalon!
Nehemiah 9:6
You, even You, are Jehovah alone. You have made the heavens, heaven of the heavens, with all their host, the earth, and all things on it, the seas, and all in them, and You preserve them all. And the host of the heavens worships You.
Psalm 74:16
The day is Yours, the night also is Yours; You have prepared the light and the sun.
Psalm 136:7
To Him who made great lights; for His mercy endures forever.
Psalm 148:3
Praise Him, sun and moon; praise Him, all stars of light.
Jeremiah 31:35
So says Jehovah, who gives the sun for a light by day and the laws of the moon and of the stars for a light by night, who divides the sea when its waves roar; Jehovah of Hosts is His name;
Jeremiah 33:25
So says Jehovah: If My covenant is not with day and night, and if I have not given the ordinances of the heavens and the earth,
Matthew 5:45
so that you may become sons of your Father in Heaven. 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
You shall not make to yourselves any graven image, or any likeness of anything that is in the heavens above, or that is in the earth beneath, or that is in the water under the earth.
Psalm 104:19
He appointed the moon for seasons; the sun knows its going down.
Psalm 136:7
To Him who made great lights; for His mercy endures forever.
1 Corinthians 15:41
one glory of the sun, and another glory of the moon, and another glory of the stars; for one star differs from another star in glory.