For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: Not of works, lest any man should boast. Ephesians 2:8-10
But wilt thou know, O vain man, that faith without works is dead? James 2 :20
The difference is being in the flesh, and being in the Spirit.
We are saved by faith, and not by works, when we first confess Christ for that is all we can do for we have not received the Spirit yet.
When we receive the Spirit then we have to have works for faith to be applied in our life.
Out of faith, hope, and charity, love in action, works, charity is the greatest.
Love is greater than faith, and faith works by love.
Paul said he could have all faith so that he could remove mountains, but if he did not have charity he is nothing.
And said if any person preaches that God blesses the saints with their wants, money and material things, from such withdraw yourselves, having food and clothing be content.
For the love of money is the root of all evil for it neglects the poor and needy, and love is the fulfilling of the law, which if people go by their wants they have erred from the faith.
James said without charity their faith is dead, so we are justified by works, and not faith alone.
John said without charity the love of God does not dwell in them, so do not love in word, or in tongue, but in deed, works, and truth.
Love is greater than faith, and love has to be done in works for it to be valid.
The Bible says some have a form of godliness, but deny the power thereof, from such turn away, and are ever learning, and never able to come to the knowledge of the truth, for they hold unto sin and believe they are still saved for they say they have faith.
But that is not love so then they do not have faith.
For Paul said love does not think an evil thought, and does not rejoice in iniquity, but rejoices in the truth, which if a person hates sin, and does not want sin, by the Spirit they can abstain from sin, for a Spirit led person will not fulfill the lusts of the flesh, for they have crucified the flesh with the affections and lusts, and show the ways of the Spirit and not the flesh.
If we do sin we get rid of it and keep going in the Spirit with the proper attitude that we are not right with God if we hold unto sin.
For the Lord knows them that are His having this seal that those that name the name of Christ depart from iniquity.
And awake to righteousness, and sin not, but some do not have the knowledge of God.
Many hypocrites living by their wants, and holding unto sin, and think they are saved because they say they have faith.
But Paul, James, and John says that is not faith.
For faith is the substance of things hoped for, the evidence of things not seen.
So faith is having the proper perspective of God and His kingdom that He hates sin, and does not want us to do sin, and His kingdom is love which is greater than faith.
Paul and James say the same thing when a person receives the Spirit.