All good originates with the Divine. In the charitable act you describe as an example, I will assume that the fellow loves God as he understands him and is charitable to the neighbor. If he is doing these acts for no benefit to himself - WHAT DIFFERENCE is what he knows the Lord's name as?
If you love God, love the neighbor and live a good live you will go to heaven. If you love yourself, love the world and live a life of evil you will go to hell.