The problem about all this doing works to prove a person's faith is that it does not prove anything. Many in the churches do charitable works but those works can be done by anyone. They do not mean the person is even saved. As the scripture states there are many Tares in the church.
But let us see how Jesus came down on works.
Matt 6:1-4
6 "Take heed that you do not do your charitable deeds before men, to be seen by them. Otherwise you have no reward from your Father in heaven.
2 Therefore, when you do a charitable deed, do not sound a trumpet before you as the hypocrites do in the synagogues and in the streets, that they may have glory from men. Assuredly, I say to you, they have their reward.
3 But when you do a charitable deed, do not let your left hand know what your right hand is doing,
4 that your charitable deed may be in secret; and your Father who sees in secret will Himself reward you openly.
NKJV
Matt 23:4-5
4 For they bind heavy burdens, hard to bear, and lay them on men's shoulders; but they themselves will not move them with one of their fingers.
5 But all their works they do to be seen by men. They make their phylacteries broad and enlarge the borders of their garments.
NKJV
So James wants everyone to see his works. Many on these threads want everyone to see their works. But they do not see that anyone can fake it.
I feel that James is boasting about his works and it seems there are many on forums that do the same. But Jesus was absolutely correct in that they do it to be seen before men.