Jesus refers to Himself numerous times in the Scriptures as "the Light of the world." The man blind from birth who had his sight restored by Jesus declared, "Once I was blind, but now I see!" In Genesis 1:3, Jesus said, "Let there be light." In the end of the Bible, in Revelation 21, we read that Jesus is the light of the city of heaven. Philip P. Bliss knew all of this when he wrote and composed the hymn, "The Light of the World is Jesus," and he wove all of it into the message of his song. "Come to the light, 'tis shining for thee."
https://www.wholesomewords.org/biography/biobliss.html