Genesis 1:18

ESV
to rule over the day and over the night, and to separate the light from the darkness. And God saw that it was good.