Genesis 1:16

16 So God made the two larger lights, the sun to rule over the day and the moon to rule over the night; he also made the stars.

Genesis 1:16 In-Context

14 Then God commanded, "Let lights appear in the sky to separate day from night and to show the time when days, years, and religious festivals begin;
15 they will shine in the sky to give light to the earth" - and it was done.
16 So God made the two larger lights, the sun to rule over the day and the moon to rule over the night; he also made the stars.
17 He placed the lights in the sky to shine on the earth,
18 to rule over the day and the night, and to separate light from darkness. And God was pleased with what he saw.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.