Today's failure can teach us to prepare for the future.