Genesis 1:16-18

16 And God made the two great lights: the greater light to be the ruler of the day, and the smaller light to be the ruler of the night: and he made the stars.

17 And God put them in the arch of heaven, to give light on the earth;

18 To have rule over the day and the night, and for a division between the light and the dark: and God saw that it was good.