What analogy is made in the following line from the passage?

“I have but one lamp by which my feet are guided; and that is the lamp of experience.”

An analogy is made between using a light and finding a leader to follow.

An analogy is made between taking a journey and gaining more experience.

An analogy is made between finding one's way in the dark and making a difficult decision.

An analogy is made between traveling at night and not having enough information to understand an issue.