Regardless of what one has in this life, there is only one door into the kingdom of God, and that is the door of repentance. But it is the door of humiliation. And it is not just a narrow door…it is a very low door. We must come through on our faces, at the feet of the Lord Jesus Christ. And so James says to the rich Christian, your afflictions are to remind you of your basic corrupt nature. Your afflictions are to remind you that you brought nothing into this world and will leave this world with nothing. Your afflictions are to remind you that you are a sinner, saved by grace, remind you that it is only as you are broken and impoverished of spirit and mourning over your sins, that the Spirit leads you into the kingdom of God. And so glory, glory in God's acts, not in humiliation. Glory in the reminder [the trials] of your sin and corruption.1
Joseph A. Pipa
10 and the rich in his humiliation, because like a flower of the grass he will pass away.