Here the "light" is a metaphor for the revelation that comes from God. Also, "world" is a metonym for "people." See how you translated a similar phrase in [John 8:12](../08/12.md). Alternate translation: "I have come to give light to the people of the world" (See: [[rc://en/ta/man/jit/figs-metaphor]] and [[rc://en/ta/man/jit/figs-metonymy]])
Here "darkness" is a metaphor for living in ignorance of God's truth. Alternate translation: "may not continue to be spiritually blind" (See: [[rc://en/ta/man/jit/figs-metaphor]])