God made two great lights—the greater light to govern the day and the lesser light to govern the night. He also made the stars.
References for Genesis 1:16
God set them in the vault of the sky to give light on the earth,
to govern the day and the night, and to separate light from darkness. And God saw that it was good.
References for Genesis 1:18