I am amazed how God can take bad things and turn them around for good. Consider the death of Stephen:
And Saul was consenting unto his death. And at that time there was a great persecution against the church which was at Jerusalem; and they were all scattered abroad throughout the regions of Judaea and Samaria, except the apostles. And devout men carried Stephen to his burial, and made great lamentation over him. As for Saul, he made havock of the church, entering into every house, and haling men and women committed them to prison. Therefore they that were scattered abroad went every where preaching the word. Then Philip went down to the city of Samaria, and preached Christ unto them. (Acts 8:1-5 KJV)
Because of Stephen's death, the believers were thrust out taking the Gospel to others. They didn't allow a bad thing stop them from doing good things. I hope that I can remember this WHILE I endure "bad" things. There really are no "bad" things, just good things from a good God.