“If he is indeed wise he does not bid you enter the house of his wisdom, but rather leads you to the threshold of your own mind.”
Kahlil Gibran wrote this in The Prophet, first published in 1923. It appears in On Teaching.
Where it appears
No man can reveal to you aught but that which already lies half asleep in the dawning of your knowledge. The teacher who walks in the shadow of the temple, among his followers, gives not of his wisdom but rather of his faith and his lovingness. If he is indeed wise he does not bid you enter the house of his wisdom, but rather leads you to the threshold of your own mind. The astronomer may speak to you of his understanding of space, but he cannot give you his understanding. The musician may sing to you of the rhythm which is in all space, but he cannot give you the ear which arrests the rhythm nor the voice that echoes it.
From the public-domain edition, read it free.