The Bible says "All things work together for good, to them that love God, to them who are the called according to His purpose."
We should not concern ourselves with the question how is "good" going to come out of this? But rather our concern should be whether we love God or not. For if we know that we love God, then all these things will work together for my good.
The Greek word for know is intuitive. Its a knowing within yourself without the ability to prove it; and with what you know is that because you love God. God will interrupt it, change it around or redirect it so that it will work for your good. That includes things good and things bad.