There is a field of study around "mindset". The fairly famous book is called Mindset by Carol Dweck.
This infographic summarizes the ideas very well.
This infographic summarizes the ideas very well.
This pushed me to learn continuously because at the end of the day, it is what you know and what you can do that counts rather than your grades.