One of the most important resilience skills you can learn is self-compassion. So many of us are skilled at displaying compassion when engaging with friends and colleagues, but we don't extend that same courtesy to ourselves.
For instance, if you found out that a colleague had a setback at work, you would not urge them to give up. You would help them to recognize their positive qualities, let them know that there are always new opportunities out there, and encourage them to get help from someone if there is a skill they need to learn.
Yet when you make a mistake, have a bad interaction with someone, or fail to achieve something you were striving for, it's easy to get down on yourself. You may convince yourself that the problem is your fault, that you're not capable of success, and that the mistake is a sign that you should give up on your goals.
On top of that, after making a mistake, you will convince yourself that you cannot succeed at future attempts. This negative self-talk can be detrimental because you may talk yourself out of pursuing an interesting opportunity if you don't believe you can do it. You may give up on key life goals.