James 2:14 says, What doth it profit, my brethren, though a man say he hath faith, and have not works? can faith save him? James asked if it would profit a man to say he had faith but didn't do any work to bring about God's purpose for him. He was not saying that we must work for our salvation, but if we profess to be saved by faith in Jesus Christ, then our faith will lead us to do the work that God has called us to do. Works are evidence of our faith in Jesus Christ, but they are not a requirement for salvation.
Verse fifteen adds, If a brother or sister be naked, and destitute of daily food, James then gives the example of a fellow Christian being naked and in need of food. We here in America aren't often that bad off, especially for being naked, but our fellow Christians in other parts of the world may often be.
Verse sixteen continues, 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? James then asked if another Christian told them to depart in peace and be warmed and filled without offering them any real help, what would it profit either of them. Anytime we see someone in need but only offer kind words without really doing anything to help them if we are able to do so, what does it profit them or us. Empty words will not help them physically nor us spiritually.
Verse seventeen concludes, Even so faith, if it hath not works, is dead, being alone. James then said that faith without works is dead. Faith in Jesus Christ brings us salvation. Once we have salvation through faith, God will have a purpose for us and we should do our best to fulfill it. We are not saved to just sit back and do nothing for God, but as Paul said of certain people, we are to be fellow laborers in Christ.