If you accept failure as learning, it’s not discouraging to keep adapting until you find success.