In Abraham 1:2 we read that Abraham desired to possess great knowledge:
And, finding there was greater happiness and peace and rest for me, I sought for the blessings of the fathers, and the right whereunto I should be ordained to administer the same; having been myself a follower of righteousness, desiring also to be one who possessed great knowledge, and to be a greater follower of righteousness, and to possess a greater knowledge, and to be a father of many nations, a prince of peace, and desiring to receive instructions, and to keep the commandments of God, I became a rightful heir, a High Priest, holding the right belonging to the fathers. (emphasis added)
Jeff Lindsay notes how this is attested in other ancient texts:
Where did Joseph Smith get all his information from?
See: