Deuteronomy 4:19

Yea, and lest thou lift up thine eyes unto heaven, and when thou seest the sun and the moon and the stars and whatsoever is contained in heaven, shouldest be deceived and shouldest bow thyself unto them and serve the things which the LORD thy God hath distributed unto all nations that are under all quarters of heaven.

Deuteronomy 17:3

so that they have gone and served strange gods and worshipped them, whether it be the sun or moon or anything contained in heaven which I forbade,

2 Kings 17:16

But they left the commandments of the LORD their God and made them Images of metal, even two calves: and made groves and bowed themselves unto all the Host of heaven, and served Baal.

2 Kings 21:3

And he went and built the hill altars again, which Hezekiah his father had destroyed. And he reared up altars to Baal and made groves, as did Ahab king of Israel. And he bowed himself unto all the host of heaven and served them.

Genesis 2:1

Thus was heaven and earth finished with all their apparel:

Romans 1:25

which turned his truth unto a lie, and worshipped and served the creatures more than the creator, which is blessed forever, Amen.

Genesis 1:16-18

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

Joshua 10:12-13

Then spake Joshua unto the LORD, the day when the LORD delivered the Amorites before the children of Israel, and he said in the sight of all Israel, "Sun, stand thou still upon Gibeon, and thou, Moon, in the valley of Aijalon."

2 Kings 23:4-5

And the king commanded Hilkiah the high priest and the inferior priests and the keepers of the door, to bring out of the temple of the LORD, all the vessels that were made for Baal and for the grove and for all the host of heaven. And he burnt them without Jerusalem in the fields of Kidron and carried the ashes of them into Bethel.

2 Kings 23:11

He put down the horses that the kings of Israel had given to the son at the entering of the house of the LORD, in the chamber of Nathanmelech the chamberlain which was the ruler of the suburbs, and burnt the chariots of the sun with fire.

Nehemiah 9:6

LORD, thou alone hast made heaven, and the heaven of all heavens, with all their host, the earth and all that is therein, the sea and all that is therein: thou givest life unto all, and the host of heaven bow themselves unto thee.

Job 31:26-28

Did I ever greatly regard the rising of the sun? Or, had I the going down of the moon in great reputation?

Psalm 74:16-17

The day is thine. The night is thine. Thou hast prepared the lights and the sun.

Psalm 136:7-9

Which hath made great lights! For his mercy endureth forever.

Psalm 148:3-5

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

Jeremiah 8:2

and laid against the Sun, the Moon and all the heavenly host: whom they loved, whom they served, whom they ran after, whom they sought and worshipped. They shall neither be gathered together nor buried, but shall lie upon the earth, to their shame and despising.

Jeremiah 19:13

For the houses of Jerusalem, and the houses of the kings of Judah are defiled, like as Tophet, because of all the houses; in whose parlors they did sacrifice unto all the host of heaven, and poured out drink offerings unto strange gods.'"

Jeremiah 31:35

"Thus sayeth the LORD which gave the sun to be a light for the day, and the moon and stars to shine in the night: which moveth the sea, so that the floods thereof wax fierce: his name is the LORD of Hosts.

Jeremiah 33:25

Therefore thus sayeth the LORD: If I have made no covenant with day and night, and given no statute unto heaven and earth;

Ezekiel 8:16

And so he brought me into the inward court of the LORD's house. And behold, at the port of the LORD's house, betwixt the fore entry and the altar, there were five and twenty men that turned their backs on the temple of the LORD, and their faces toward the east, and these worshiped the sun.

Amos 5:25-26

O ye house of Israel, gave ye me offerings and sacrifices those forty years long in the wilderness?

Zephaniah 1:5

yea, and such as upon their house-tops worship and bow themselves unto the host of heaven: which swear by the LORD, and by their Milcom also:

Matthew 5:45

that ye may be the children of your father that is in heaven: for he maketh his sun to arise on the evil and on the good, and sendeth his rain on the just and unjust.

Acts 7:42

Then God turned himself, and gave them up, that they should worship the stars of the sky, as it is written in the book of the prophets, 'O ye of the house of Israel: gave ye to me sacrifices and meat offerings 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
so that they have gone and served strange gods and worshipped them, whether it be the sun or moon or anything contained in heaven which I forbade,
2 Kings 23:4
And the king commanded Hilkiah the high priest and the inferior priests and the keepers of the door, to bring out of the temple of the LORD, all the vessels that were made for Baal and for the grove and for all the host of heaven. And he burnt them without Jerusalem in the fields of Kidron and carried the ashes of them into Bethel.
Job 31:26
Did I ever greatly regard the rising of the sun? Or, had I the going down of the moon in great reputation?
Jeremiah 8:2
and laid against the Sun, the Moon and all the heavenly host: whom they loved, whom they served, whom they ran after, whom they sought and worshipped. They shall neither be gathered together nor buried, but shall lie upon the earth, to their shame and despising.
Ezekiel 8:16
And so he brought me into the inward court of the LORD's house. And behold, at the port of the LORD's house, betwixt the fore entry and the altar, there were five and twenty men that turned their backs on the temple of the LORD, and their faces toward the east, and these worshiped the sun.
Amos 5:25
O ye house of Israel, gave ye me offerings and sacrifices those forty years long in the wilderness?

Which the lord

Genesis 1:16
And God made two great lights: a greater light to rule the day, and a lesser light to rule the night; and he made stars also.
Joshua 10:12
Then spake Joshua unto the LORD, the day when the LORD delivered the Amorites before the children of Israel, and he said in the sight of all Israel, "Sun, stand thou still upon Gibeon, and thou, Moon, in the valley of Aijalon."
Nehemiah 9:6
LORD, thou alone hast made heaven, and the heaven of all heavens, with all their host, the earth and all that is therein, the sea and all that is therein: thou givest life unto all, and the host of heaven bow themselves unto thee.
Psalm 74:16
The day is thine. The night is thine. Thou hast prepared the lights and the sun.
Psalm 136:7
Which hath made great lights! For his mercy endureth forever.
Psalm 148:3
Praise him sun and moon; praise him all ye stars and light.
Jeremiah 31:35
"Thus sayeth the LORD which gave the sun to be a light for the day, and the moon and stars to shine in the night: which moveth the sea, so that the floods thereof wax fierce: his name is the LORD of Hosts.
Jeremiah 33:25
Therefore thus sayeth the LORD: If I have made no covenant with day and night, and given no statute unto heaven and earth;
Matthew 5:45
that ye may be the children of your father that is in heaven: for he maketh his sun to arise on the evil and on the good, and sendeth his rain on the just and unjust.

General references

Exodus 20:4
"Thou shalt make thee no graven image, neither any similitude that is in heaven above, either in the earth beneath, or in the water that is beneath the earth.
Psalm 104:19
Thou hast appointed the moon for certain seasons, the sun knoweth his going down.
Psalm 136:7
Which hath made great lights! For his mercy endureth forever.
1 Corinthians 15:41
There is one manner glory of the sun, and another glory of the moon, an another glory of the stars. For one star differeth from another in glory.