Losing what you wanted can be the way you find what you needed.
The title points at this turn. Mr Skelly counts himself lucky for a loss because of what the loss made room for. It is not a claim that the loss did not hurt. It is a second look at the same event, taken later.