Genesis 1:14 (ESV)

14 And God said, “Let there be lights in the expanse of the heavens to separate the day from the night. And let them be for signs and for seasons, and for days and years,

Again God’s mighty voice is heard. He creates the sun, the moon, and the stars. Immediately the sun, the moon, and millions and millions of stars appear. The Lord makes it very clear here that these are his creations; they are not gods. The one and only God created them, and he holds them in his hand (see, e.g., Judges 5:20; Psalm 147:4; Isaiah 40:26). Neither are the heavenly bodies eternal. They will disappear one day (see Isaiah 13:10; Matthew 24:29; Revelation 6:12–14). It is striking that not even the names of the sun, moon, and stars are mentioned here. They are mentioned only in regard to the function they have. This further emphasizes that, as created entities, they are in the service of God and not gods themselves (as many of the people in ancient times believed).