"Yes, God's sovereign providence does sometimes take us into and through storms

that utterly shipwreck our hopes and dreams. God certainly doesn't promise an easy life of health

and wealth for his followers.

Yet it is precisely Gods loving providence that is at work in these most painful of seasons.

God is not capricious and mean, bringing painful circumstances into your life for no reason. 

He has profound lessons he wants to teach you and ways in which he will use you to glorify himself,

which cannot be accomplished unless you pass through this storm. ...

So too, your pain is never meaningless: 

God always has a good purpose to accomplish through it, both in you and through you."

 

(Iain M. Duguid and Matthew P. Harmon)