100%! I'd highly recommend reading "Mindset - Updated Edition: Changing The Way You think To Fulfil Your Potential" by Carol Dweck, on that topic. Something that all of us, from pupils all the way through to CxOs, can benefit from immensely.
My favourite is around the power of "not yet" - i.e. not getting discouraged because you are not hitting the mark, but moving forward and trying again until you get there.
Check it out here! https://amzn.to/3mbWW2z