Philosophy Question: David Hume and Education

I have been trying to track down a passage from David Hume that I read many many years ago. He was talking about the benefits of education for its own sake; that there is a beauty in knowledge. I remember some kind of analogy with a sailing ship on the ocean, andsomething about knowledge as a silken thread…

Any help on this would be much appreciated.