Jerry Bridges, The Practice of Godliness, 1996, p. 175.
Paul and James both say that we should rejoice in our trials because of their beneficial results. It is not the adversity considered in itself that is to be the ground of our joy. Rather, it is the expectation of the results, the development of our character that should cause us to rejoice in adversity. God does not ask us to rejoice because we have lost our job, or a loved one has been stricken with cancer, or a child has been born with an incurable birth defect. But He does tell us to rejoice because we believe He is in control of those circumstances and is at work through them for our ultimate good.
Jerry Bridges, The Practice of Godliness, 1996, p. 175.