Who knows Gods will? But, the Bible says "All things work together for the good of those who love the Lord." That includes what we think are bad things, along with the good. It is usually the bad things that happen in our lives, which humble us, making us depend upon God more, forms our charactor, making us better servants to God.
A lesson to us all.