You can learn a lot from setbacks.