How God Uses Suffering for His Glory and Our Good
article
Since God is the source of all goodness, his glory is the wellspring of all joy. What God does for his own sake benefits us. Therefore whatever glorifies him is good for us. And that includes the suffering he allows or brings (biblically, either or both terms can apply) into our lives.