How can we continue to rejoice even when things are going horribly wrong? James tells that, by God's grace, we can count it all joy even when we are in a season of trials by trusting God's plan. He is not trying to harm us but working through trials to make us more like Jesus.