“The life that was so swiftly expanding within him, urged him continually toward the wall of light.”
Jack London wrote this in White Fang. It appears in Part II, Chapter III.
Where it appears
Only he did not know it for an entrance. He did not know anything about entrances—passages whereby one goes from one place to another place. He did not know any other place, much less of a way to get there. So to him the entrance of the cave was a wall—a wall of light. As the sun was to the outside dweller, this wall was to him the sun of his world. It attracted him as a candle attracts a moth. He was always striving to attain it. The life that was so swiftly expanding within him, urged him continually toward the wall of light. The life that was within him knew that it was the one way out, the way he was predestined to tread. But he himself did not know anything about it. He did not know there was any outside at all.
From the public-domain edition, read it free.