"Believers in humble circumstances ought to take pride in their high position. But the rich should take pride in their humiliation--since they will pass away like a wild flower. For the sun rises with scorching heat and withers the plant; its blossom falls and its beauty is destroyed. In the same way, the rich will fade away even while they go about their business." -James 1:9-11
Remember the tone of this entire chapter is in light of suffering, and the idea presented here is one of roots.
Suffering and trials and troubles, like the sun, are potentially dangerous and destructive, but they have equal potential for light and growth.
Our suffering and our trials have the potential to create destruction in our lives, but they also have the potential to help us grow and refine the person we are.
Like plants under the sun, the issue at hand is how deep the root runs, so is our suffering. If our root is shallow and dependant on our riches or other things, we will wilt away under the scorching heat of suffering.
But if our root runs deep into the richer soils of humility, family, and Christ, the suns of suffering will come, but we will find beauty and growth from the Light.