God also allows suffering so that we might learn what it means to depend on Him, not on our own strength and resources.
While God is not the author of evil and He never prompts or condones sin, nothing occurs without His sovereign oversight. Others may choose to do evil deeds and God's people may suffer in the short term, but He will transform the evil intentions of evil people into opportunities for the enrichment of those in His care.
This tendency to avoid problems and the emotional suffering inherent in them is the primary basis of all human mental illness
If you allow it, [suffering] can be the means by which God brings you His greatest blessings.