It means that if you study hard and ask more questions, you will learn more; If you are arrogant, you will learn less.
This sentence comes from Shang Zhong Patent: "I heard that those who are proud of their teachers are kings, and those who are self-sufficient are dead. Ask questions and you will have money. If you use them yourself, it will be small. "