Gen 1:4
God saw that the light was good, and he separated the light from the darkness.
Which was either a reference to the fact that the Earth 'spins', or that even with an infinite amount of stars, giving off unimaginable amounts of light, it is still dark at night, due to a very delicate balance between the amount of light giving stars, and the immensity of space.