Gen 37:9 Then he dreamed another dream and told it to his brothers and said, “Behold, I have dreamed another dream. Behold, the sun, the moon, and eleven stars were bowing down to me.”
Deu 4:19 And beware lest you raise your eyes to heaven, and when you see the sun and the moon and the stars, all the host of heaven, you be drawn away and bow down to them and serve them, things that the Lord your God has allotted to all the peoples under the whole heaven.
Deu 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 forbidden,

Jos 10:12 At that time Joshua spoke to the Lord in the day when the Lord gave the Amorites over to the sons of Israel, and he said in the sight of Israel,

Sun, stand still at Gibeon,
and moon, in the Valley of Aijalon.”
Jos 10:13 And the sun stood still, and the moon stopped,
until the nation took vengeance on their enemies.

Is this not written in the Book of Jashar? The sun stopped in the midst of heaven and did not hurry to set for about a whole day.
2Ki 23:5 And he deposed the priests whom the kings of Judah had ordained to make offerings in the high places at the cities of Judah and around Jerusalem; those also who burned incense to Baal, to the sun and the moon and the constellations and all the host of the heavens.
Job 25:5 Behold, even the moon is not bright,
and the stars are not pure in his eyes;
Job 31:26 if I have looked at the sun when it shone,
or the moon moving in splendor,
Psa 8:3 When I look at your heavens, the work of your fingers,
the moon and the stars, which you have set in place,
Psa 72:5 May they fear you while the sun endures,
and as long as the moon, throughout all generations!
Psa 72:7 In his days may the righteous flourish,
and peace abound, till the moon be no more!
Psa 89:37 Like the moon it shall be established forever,
a faithful witness in the skies.”  Selah
Psa 104:19 He made the moon to mark the seasons;
the sun knows its time for setting.
Psa 121:6 The sun shall not strike you by day,
nor the moon by night.
Psa 136:9 the moon and stars to rule over the night,
for his steadfast love endures forever;
Psa 148:3 Praise him, sun and moon,
praise him, all you shining stars!
Ecc 12:2 before the sun and the light and the moon and the stars are darkened and the clouds return after the rain,
Isa 13:10 For the stars of the heavens and their constellations
will not give their light;
the sun will be dark at its rising,
and the moon will not shed its light.
Isa 60:19 The sun shall be no more
your light by day,
nor for brightness shall the moon
give you light;
but the Lord will be your everlasting light,
and your God will be your glory.
Isa 60:20 Your sun shall no more go down,
nor your moon withdraw itself;
for the Lord will be your everlasting light,
and your days of mourning shall be ended.
Jer 8:2 And they shall be spread before the sun and the moon and all the host of heaven, which they have loved and served, which they have gone after, and which they have sought and worshiped. And they shall not be gathered or buried. They shall be as dung on the surface of the ground.
Jer 31:35 Thus says the Lord,
who gives the sun for light by day
and the fixed order of the moon and the stars for light by night,
who stirs up the sea so that its waves roar
the Lord of hosts is his name:
Eze 32:7 When I blot you out, I will cover the heavens
and make their stars dark;
I will cover the sun with a cloud,
and the moon shall not give its light.
Joe 2:10 The earth quakes before them;
the heavens tremble.
The sun and the moon are darkened,
and the stars withdraw their shining.
Joe 2:31 The sun shall be turned to darkness, and the moon to blood, before the great and awesome day of the Lord comes.
Joe 3:15 The sun and the moon are darkened,
and the stars withdraw their shining.
Hab 3:11 The sun and moon stood still in their place
at the light of your arrows as they sped,
at the flash of your glittering spear.
Copyright information for ESV