What is the understanding of Confucius that he established scholars for himself in ancient times and scholars for people today?

What is the understanding of Confucius that he established scholars for himself in ancient times and scholars for people today?

The purpose of learning is to improve one's self-cultivation and knowledge; the purpose of learning is to be famous and let others know one's achievements