Quite simply, the true teacher educates his pupils to learn for themselves. Then he is no longer necessary.
He becomes unnecessary as a teacher but moves on to a role of facilitator of knowledge.
No man in this world does anything unneccesarily, he expects something or the other in return..
See John Holt, teacher and writer. Frank C.