Most of us struggle with the fact that God allows bad things to happen to us. Why does He not intervene more often to protect us from attacks of various kinds and from events that cause sadness, setbacks, or suffering?
While mysterious, the clearest answer is that God allows suffering in order that some greater blessing may occur. To some degree I have found this to be so; some of my greatest blessings required that a door slam shut for me or that I endure some suffering. If my college sweetheart had not ended things, I would most likely not have the very great blessing of being a priest today. Had I gotten some of my preferred assignments in my early years as a priest, I would not have been enriched by the assignments I did have. Those difficult assignments have drawn me out and helped me to grow far more than the cozy, familiar placements I desired would have. Had I not entered into the crucible of depression and anxiety in my thirties, I would not have learned to trust God as much as I do, and I would not have learned important lessons about myself and about life.
So despite that fact that we understandably fear suffering and dislike it, for reasons of His own (reasons He knows best), God does allow some degree of it in our lives.