There is no surprise when there is no expectation
Getting upset with failure is a waste of time. You can't be surprised if you don't expect success every time. Being surprised with an unexpected outcome delays the focus on dealing with it. Being prepared could be easy as not expecting a certain outcome. Our efforts can be towards our desired goals. But we should be able to just deal with whatever the outcome to our efforts maybe.