Early-career setback cause a performance improvement among those who persevere. This is related to the observation that immigrants are four times more likely to become millionaires. In biology, that is called hormesis: by challenging your muscles, you get stronger; by exposing yourself to some radiations or starving a little, you live longer. So you should seek out challenges and expose your kids to difficulties.
— Read on lemire.me/blog/2019/04/20/science-and-technology-links-april-20th-2019/
To be honest, not sure I buy this one. Reading the linked article, career setback only worked as a stimulant in specific circumstances that seemed a little open to interpretation.