There are many people who are kind, show compassion, who are generous, and give of themselves but unless they are dead to sin and have been born a new creature through believing Christ Jesus is the Son of God come down to earth and lived among us in flesh to show us how to love, who died for our sins and was raised to life on the third day there can be no good fruit produced.
Romans 7 tells us until we believe we are married to a sinful nature and no matter what we do the law of God points out where we have fallen short, everything we do only produces fruit for the master we serve, which is sin and death but once we believe in Christ Jesus we die to sin, effectively freeing us from the law of works, and alive in Christ! Now everything we do that is pleasing to God, every time we serve someone putting their needs before our own or compassion moves us to help someone or we give to those in need we no longer produce fruit for our old master, which was sin, but the fruit we produce is good and righteous and pleasing to God and like a wife who longs to please her husband such is the bride of Christ who long to please God! For we have died to sin and have been reborn to Christ Jesus so that every work produced in us is now a pleasing offering unto God.
Again, our dying to sin imitates the death of Christ and believing in Jesus has raised us to new life as Christ has risen! God planted within our hearts a godly seed that when matures brings forth a good harvest, holy and pleasing to Him, for His purpose. This is why a “good” person cannot enter the gates of heaven. You see it’s not our actions but whether the fruit we produce is for the Lord God or for sin and death.
Likewise every good tree bears good fruit, but a bad tree bears bad fruit. A good tree cannot bear bad fruit, and a bad tree cannot bear good fruit. Every tree that does not bear good fruit is cut down and thrown into the fire. Thus, by their fruit you will recognize them. "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven. Many will say to me on that day, 'Lord, Lord, did we not prophesy in your name, and in your name drive out demons and perform many miracles?' Then I will tell them plainly, 'I never knew you. Away from me, you evildoers!'
(Matthew 7:17-23 NIV)
It’s not what we did but who we did it for, it’s not about what you know but who you know, and it’s not about serving but who you served. Don’t be deceived good works won’t save you
All of us have become like one who is unclean, and all our righteous acts are like filthy rags; we all shrivel up like a leaf, and like the wind our sins sweep us away.
(Isaiah 64:6 NIV)
but believing Christ Jesus is God’s Son and forsaking your ways by following His leading makes you to die to sin and you are then reborn to new life so that the fruit you produce is righteous and holy.