Failure is a teacher that can help you overcome anxiety. The problem for most people is that they mentally approach setbacks with unrealistic assumptions. When failure is responded to in a healthier and more realistic way, however, it leads to increased confidence and resilience.