In the book of Genesis, there are two references to God creating lights. The first reference is found in Genesis 1:3, which states, "Then God said, 'Let there be light,' and there was light." This verse refers to the creation of light itself, which is often understood as the light that permeates the entire universe.
The second reference is found in Genesis 1:16, which says, "God made the two great lights—the greater light to govern the day and the lesser light to govern the night. He also made the stars." This verse refers to the specific creation of two great lights: the greater light to govern the day and the lesser light to govern the night. In the context of this passage, the greater light is commonly understood to be the Sun, and the lesser light is understood to be the Moon.
While it is true that the Moon does not emit its own light like the Sun does, it is often described as a light in the sense that it reflects the light of the Sun. The Moon shines at night because it reflects the sunlight that falls upon its surface, thus providing a source of illumination. Therefore, when the Bible refers to the Moon as a "lesser light," it acknowledges its role as a reflector of the Sun's light rather than an independent source of light.