I read a thing today about this woman who was talking about how she's not a church-going Christian although she does believe in God she says, and while in a fast food place, she felt the need to buy breakfast for two homeless men who had no money.
That is great, I'm glad that she did buy those two men breakfast, they needed it. I've done it a million times, I know people who've done it a million times, and it's good that people do that, but buying a homeless person breakfast does not make you a Christian. It might make you a good person for the moment but that's it.
Isaiah 64:6 says, But we are all like an unclean thing and all our righteousness are like filthy rags...
The term "filthy rags" is very strong language for Isaiah's day. He is actually comparing our good deeds and righteousness to the rags that women used while on their period.
Titus 2:5 says not by works of righteousness which we have done but according to his Mercy he saved us through the washing of regeneration and renewing of the Holy Spirit.
That word "renewing" is the Greek word, anakainosis, a combination of "ana" (again) & "kainos" (new), which means renovation, restoration, transformation, and a change of heart and life. It means an adjustment of one's moral and spiritual vision.
Our good deeds will not lead us to Heaven. The road to Heaven is paved with good intentions and the road to hell is going to have a line of people who have been doing good deeds all of their lives.
While we are admonished to produce fruit with our works, we are also cautioned that our works are nothing. James 2:14-26
Jesus said, "I am the way, the truth, and the life, no one comes to the father except through me." John 14:6
For by Grace you have been saved through faith and not of yourselves, it is the gift of God, not of works, lest anyone should boast. Ephesians 2:8-9
The only way our good works means anything at all after the moment that we have done them, is if they are done in the context of a relationship with Jesus Christ.
For I know that in me (that is, in my flesh) there is nothing good... Romans 7:18
But of Him you are in Christ Jesus, who became for us wisdom from God - and righteousness and sanctification and Redemption
1 Corinthians 1:30
So if you are going to brag about your good deeds, make sure they're coming from the right place. If your good deeds are not because of a relationship with Jesus Christ, you may as well not even do them because in the end, they are not going to get you anywhere. And if you are doing good deeds just to get brownie points in this world, and if what you do in this world is the only thing that you are concerned about, then you have truly missed the mark.
Do not lay up for yourselves treasures on Earth where moth and rust destroy and where thieves break in and steal, but lay up for yourselves treasures in Heaven, where neither moth nor rust destroy and where thieves do not break in and steal, for where your treasure is there your heart will also be.