James teaches the value of trials in God's economy.