A recent study confirmed that kids who think they can get smarter if they work hard (have a growth mindset) are more likely to bounce back from their mistakes than those who think their level of intelligence is set in stone (fixed mindset).
http://www.livescience.com/57700-kids-mistakes-brain.html