Here is a great Taoist story explaining how — in the great complexity of nature and reality — the judgements we make as to whether something is good or bad are often only true for a fleeting moment. In the grand scheme of things there is neither good nor bad. Things just are.
Once upon a time there was a Chinese farmer whose horse ran away. That evening, all of his neighbors came around to commiserate. They said, “We are so sorry to hear your horse has run away. This is most unfortunate.” The farmer said, “Maybe.” The next day the horse came back bringing seven wild horses with it, and in the evening everybody came back and said, “Oh, isn’t that lucky. What a great turn of events. You now have eight horses!” The farmer again said, “Maybe.” The following day his son tried to break one of the horses, and while riding it, he was thrown and broke his leg. The neighbors then said, “Oh dear, that’s too bad,” and the farmer responded, “Maybe.” The next day the conscription officers came around to conscript people into the army, and they rejected his son because he had a broken leg. Again all the neighbors came around and said, “Isn’t that great!” Again, he said, “Maybe.”
The farmer steadfastly refrained from thinking of things in terms of gain or loss, advantage or disadvantage, because one never knows… In fact we never really know whether an event is fortune or misfortune, we only know our ever-changing reactions to ever-changing events.