You do know that James was referring to Abraham's faith in God to provide, right?
Genesis 22:7 And Isaac spake unto Abraham his father, and said, My father: and he said, Here am I, my son. And he said, Behold the fire and the wood: but where is the lamb for a burnt offering? 8 And Abraham said, My son, God will provide himself a lamb for a burnt offering: so they went both of them together.
13 And Abraham lifted up his eyes, and looked, and behold behind him a ram caught in a thicket by his horns: and Abraham went and took the ram, and offered him up for a burnt offering in the stead of his son. 14 And Abraham called the name of that place Jehovahjireh: as it is said to this day, In the mount of the Lord it shall be seen.
That is the faith James was referring to that requires works; as in leading by example; not faith in Jesus Christ for salvation which is without works.
James was rebuking the church for sharing their faith in God to provide to the poor without meeting their immediate needs of those poor that were about to perish from the element and starvation from the bounty collected at church service. It is the church's faith in God to provide being issued to the poor that will not profit the poor nor save the poor, seeing the church's faith is dead without leading by example.
It is understandable for why many read James verses out of context thinking it applies also to the faith in Jesus Christ for salvation, but no. When reading verse 14, one should do so in context.
James 2:14 What doth it profit, my brethren, though a man say he hath faith, and have not works? can faith save him? 15 If a brother or sister be naked, and destitute of daily food, 16 And one of you say unto them, Depart in peace, be ye warmed and filled; notwithstanding ye give them not those things which are needful to the body; what doth it profit? 17 Even so faith, if it hath not works, is dead, being alone.
18 Yea, a man may say, Thou hast faith, and I have works: shew me thy faith without thy works, and I will shew thee my faith by my works. 19 Thou believest that there is one God; thou doest well: the devils also believe, and tremble. 20 But wilt thou know, O vain man, that faith without works is dead? 21 Was not Abraham our father justified by works, when he had offered Isaac his son upon the altar? 22 Seest thou how faith wrought with his works, and by works was faith made perfect? 23 And the scripture was fulfilled which saith, Abraham believed God, and it was imputed unto him for righteousness: and he was called the Friend of God. 24 Ye see then how that by works a man is justified, and not by faith only.
So the church nor man is not justified nor righteous when sharing faith in God to provide to the poor if the church nor that believer cares to lead by example to the poor by meeting the immediate needs of the poor with what God had provided for them.
It is the church's faith in God to provide that is dead in the eyes of the poor for why the church's faith in God to provide to the poor, will not profit the poor nor save the poor from the elements or starvation when the church does not care to lead by example.
James was never talking about the faith in Jesus Christ for salvation as if needing works, because James was rebuking the church for getting out of helping the poor by callously sharing their faith in God to provide to the poor without meeting the immediate needs of the poor that were perishing.
Paul testifies to faith in Jesus Christ in salvation which is without works for why believing in Jesus Christ for salvation is the Good News for man.
Titus 3:4 But after that the kindness and love of God our Saviour toward man appeared, 5 Not by works of righteousness which we have done, but according to his mercy he saved us, by the washing of regeneration, and renewing of the Holy Ghost; 6 Which he shed on us abundantly through Jesus Christ our Saviour; 7 That being justified by his grace, we should be made heirs according to the hope of eternal life.
Romans 11:6 And if by grace, then is it no more of works: otherwise grace is no more grace. But if it be of works, then it is no more grace: otherwise work is no more work.
Romans 4:1What shall we say then that Abraham our father, as pertaining to the flesh, hath found? 2 For if Abraham were justified by works, he hath whereof to glory; but not before God. 3 For what saith the scripture? Abraham believed God, and it was counted unto him for righteousness. 4 Now to him that worketh is the reward not reckoned of grace, but of debt. 5 But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness.