Read James 2:18 Using Other Translations
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.
But someone will say, "You have faith and I have works." Show me your faith apart from your works, and I will show you my faith by my works.
Now someone may argue, “Some people have faith; others have good deeds.” But I say, “How can you show me your faith if you don’t have good deeds? I will show you my faith by my good deeds.”