Learn to see failures as lessons