Everything happens for a reason, if you let that reason be God's will, then all falls into place.
It's possible to find a silver lining to any situation if you can frame your mind properly. Anxiety and gratitude are controlled by the same part of the brain, so its one or the other. If you find a reason to grateful you will not fell anxious.