"We also rejoice in our sufferings, because we know that suffering produces perseverance; perseverance, character; and character, hope. And hope does not disappoint us, because God has poured out his love into our hearts by the Holy Spirit, whom he has given us. You see, at just the right time, when we were still powerless, Christ died for the ungodly. Very rarely will anyone die for a righteous man, though for a good man someone might possibly dare to die. But God demonstrates his own love for us in this: While we were still sinners, Christ died for us." Romans 5:3-8
One of the learning in suffering is developing our characters and experiencing Christ's love. Frankly, these are more valuable than simply removing the bad things.