Genesis 1:14-18

14And God said, “Let there be lights in the expanse of the heavens to separate the day from the night. And let them be for asigns and for bseasons,
Or appointed times
and for days and years,
15and let them be lights in the expanse of the heavens to give light upon the earth.” And it was so. 16And God dmade the two great lights—the greater light to rule the day and the lesser light to rule the night—and the stars. 17And God set them in the expanse of the heavens to give light on the earth, 18to erule over the day and over the night, and to separate the light from the darkness. And God saw that it was good.

Psalms 72:7

7In his days may fthe righteous flourish,
and gpeace abound, till the moon be no more!

Psalms 104:19

19 He made the moon to mark the hseasons;
Or  the appointed times (compare Genesis 1:14)

the sun knows its time for setting.

Jeremiah 31:35-36

35 Thus says the Lord,
who jgives the sun for light by day
and kthe fixed order of the moon and the stars for light by night,
who stirs up the sea so that its waves roar
lthe Lord of hosts is his name:
36 mIf this fixed order departs
from before me, declares the Lord,
then shall the offspring of Israel cease
from being a nation before me forever.”
Copyright information for ESV