When God has different plans for you than you had for yourself, it takes an enormous leap of faith to trust that the new plan that you are getting used to could actually be lucky in some way and better for you in the long run. Often, only hindsight tells us so definitively. Looking back at a tragedy, we see how, when loss unfolded over time, it turned into something lucky.
"One day, a poor farmer's son returned home with a fine stallion. His neighbors gathered around to congratulate him on his good fortune. "How do you know this is good fortune?" the farmer asked.
"Several weeks later, the horse ran away to the land of the barbarians. When the neighbors expressed their condolences, he asked, "How do you know this is bad luck?" Months later, the stallion returned with a herd of fine mares, and the neighbors again were delighted with his good luck, and he asked "How do you know this isn't a catastrophe?"
"Sure enough, as his son was breaking the wild horses, he fell and shattered his leg. When the neighbors expressed their sympathy, he said, "Who says this is a misfortune?" The next month, the emperor declared war on a neighboring kingdom and conscripted all the able-bodied young men of the village. Nine-tenths of them never returned from the war."
The best teacher of this lesson is history--when you come to see in your own life example after example of when God's plan turned out to be better than your own. You may count your blessings now that you didn't get what you thought you wanted, because what you got instead is so much better.
You might argue, "That's easy for you to say, but you don't know what I'm dealing with! How could this possibly be something that is for the better?" It's the same question as, "Why do bad things happen to good people?" I don't know--only God knows. I do know that our judgment of what is bad or good is coming from the perspective of our limited minds and our needs and addictions, as opposed to whatever our soul might want or need.
We may also have an important part to play in someone else's healing. We won't know until we're dead (hopefully then!) what all the twists and turns in our life were all about and why gam zu letovah--all is for the best--is actually true.
Luck-builders aren't perpetually Pollyannaish people who never complain, cry, or resist the disappointments and devastations that occur in their lives. A natural mourning process is entirely necessary in order to be a healthy human being. Luck-builders just don't let themselves have a pity party for a long period of time. In their own way, they come to accept that whatever is is fine, and then they make the most of it.