Learning from failure is an essential part of building your resilience. It gives us the ability to improve.