We can choose to let trials (physical or otherwise) mature us or defeat us. Our response to suffering is like the two sides of the same coin.
God allows or brings suffering to change, confront, or conform us to be more Christ-like. We can curse God or lean on Him. The choice is ours.