What good is it, my brothers and sisters, if someone claims to have faith but does not have works? Surely that faith cannot save, can it? If a brother or sister is naked and lacks daily food and one of you says to them, “Go in peace; keep warm and eat your fill,” and yet you do not supply their bodily needs, what is the good of that? So faith by itself, if it has no works, is dead.
But someone will say, “You have faith, and I have works.” Show me your faith apart from works, and I by my works will show you faith.

The Bible (The New Testament) (AD 1st - 2nd C) Christian sacred scripture
James 2:14-18 [NRSV (2021 ed.)]
    (Source)

Alternate translations:

What doth it profit, my brethren, though a man say he hath faith, and have not works? Can faith save him? If a brother or sister be naked, and destitute of daily food, 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? Even so faith, if it hath not works, is dead, being alone. 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.
[KJV (1611)]

Take the case, my brothers, of someone who has never done a single good act but claims that he has faith. Will that faith save him? If one of the brothers or one of the sisters is in need of clothes and has not enough food to live on, and one of you says to them, 'I wish you well; keep yourself warm and eat plenty', without giving them these bare necessities of life, then what good is that? Faith is like that: if good works do not go with it, it is quite dead. This is the way to talk to people of that kind: 'You say you have faith and I have good deeds; I will prove to you that I have faith by showing you my good deeds -- now you prove to me that you have faith without any good deeds to show.'
[JB (1966)]

My friends, what good is it for one of you to say that you have faith if your actions do not prove it? Can that faith save you? Suppose there are brothers or sisters who need clothes and don't have enough to eat. What good is there in your saying to them, “God bless you! Keep warm and eat well!”—if you don't give them the necessities of life? So it is with faith: if it is alone and includes no actions, then it is dead.
But someone will say, “One person has faith, another has actions.” My answer is, “Show me how anyone can have faith without actions. I will show you my faith by my actions.”
[GNT (1976)]

How does it help, my brothers, when someone who has never done a single good act claims to have faith? Will that faith bring salvation? If one of the brothers or one of the sisters is in need of clothes and has not enough food to live on, and one of you says to them, 'I wish you well; keep yourself warm and eat plenty,' without giving them these bare necessities of life, then what good is that? In the same way faith, if good deeds do not go with it, is quite dead. But someone may say: So you have faith and I have good deeds? Show me this faith of yours without deeds, then! It is by my deeds that I will show you my faith.
[NJB (1985)]

My brothers and sisters, what good is it if people say they have faith but do nothing to show it? Claiming to have faith can’t save anyone, can it? Imagine a brother or sister who is naked and never has enough food to eat. What if one of you said, “Go in peace! Stay warm! Have a nice meal!”? What good is it if you don’t actually give them what their body needs? In the same way, faith is dead when it doesn’t result in faithful activity. Someone might claim, “You have faith and I have action.” But how can I see your faith apart from your actions? Instead, I’ll show you my faith by putting it into practice in faithful action.
[CEB (2011)]