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.”
James 2:18 NLT

Life Application Study Notes
At first glance, this verse seems to contradict Romans 3:28, “We are made right with God through faith and not by obeying the law.” Deeper investigation, however, shows that the teachings of James and Paul are not at odds. While it is true that our good deeds can never earn salvation, true faith always results in a changed life and good deeds. Paul speaks against those who try to be saved by deeds instead of true faith; James speaks against those who confuse mere intellectual assent with true faith. After all, even demons know who Jesus is, but they don’t obey him. True faith involves a commitment of your whole self to God.

Jesus taught us:

A good tree produces good fruit, and a bad tree produces bad fruit. A good tree can’t produce bad fruit, and a bad tree can’t produce good fruit. So every tree that does not produce good fruit is chopped down and thrown into the fire. Yes, just as you can identify a tree by its fruit, so you can identify people by their actions. “Not everyone who calls out to me, ‘Lord! Lord!’ will enter the Kingdom of Heaven. Only those who actually do the will of my Father in heaven will enter. On judgment day many will say to me, ‘Lord! Lord! We prophesied in your name and cast out demons in your name and performed many miracles in your name.’ But I will reply, ‘I never knew you. Get away from me, you who break God’s laws.’
Matthew 7:17‭-‬23 NLT

And I will ask the Father, and he will give you another Advocate, who will never leave you. He is the Holy Spirit, who leads into all truth. The world cannot receive him, because it isn’t looking for him and doesn’t recognize him. But you know him, because he lives with you now and later will be in you. No, I will not abandon you as orphans—I will come to you. Soon the world will no longer see me, but you will see me. Since I live, you also will live. When I am raised to life again, you will know that I am in my Father, and you are in me, and I am in you. Those who accept my commandments and obey them are the ones who love me. And because they love me, my Father will love them. And I will love them and reveal myself to each of them.” Judas (not Judas Iscariot, but the other disciple with that name) said to him, “Lord, why are you going to reveal yourself only to us and not to the world at large?” Jesus replied, “All who love me will do what I say. My Father will love them, and we will come and make our home with each of them. Anyone who doesn’t love me will not obey me. And remember, my words are not my own. What I am telling you is from the Father who sent me.
John 14:16‭-‬24 NLT

Examine yourselves to see if your faith is genuine. Test yourselves. Surely you know that Jesus Christ is among you ; if not, you have failed the test of genuine faith.
2 Corinthians 13:5 NLT

Dear friends, you always followed my instructions when I was with you. And now that I am away, it is even more important. Work hard to show the results of your salvation, obeying God with deep reverence and fear. For God is working in you, giving you the desire and the power to do what pleases him. Do everything without complaining and arguing, so that no one can criticize you. Live clean, innocent lives as children of God, shining like bright lights in a world full of crooked and perverse people. Hold firmly to the word of life; then, on the day of Christ’s return, I will be proud that I did not run the race in vain and that my work was not useless.
Philippians 2:12‭-‬16 NLT