In the previous chapter, Jesus had claimed to be the light of the world. Now, as he had healed the lame man when entering Jerusalem, he healed a man born blind as he left.
It served as a kind of parable to his claim. He could give light to a man born into darkness, but the bulk of the story is not the miracle. The story is as much about the blindness of the Jewish leaders to recognize what Jesus had done and what it meant. It exposed that their blindness was worse than the man's.