Faith and good deeds go hand in hand. Most scriptures link the two and in the Qur’an they are almost always linked.

“…The day that some of the signs of your Lord do come, no good will it do to a person to believe then, if he believed not before, nor earned good (deeds) through his faith….” (Qur'an 6:158)

However, the deed is done to please God, not just for the sake of being a good person, although a person does derive some personal satisfaction in helping others. This is why we say in the Sight of God (not ours) Belief in God is the ultimate good deed, while rejection of Him is the worst of deeds, no matter how generous or caring the person may have appeared to be or may have actually been.

But the bottom line is, the brutal truth actually, is that there really aren’t any atheists or agnostics on a sinking ship. In other words when confronted with death suddenly everyone is a believer. :)
Unless of course a person is being totally dishonest with himself.

-------------------------------------------------------------------
You can find me on facebook. Amar Chaudhary, location, Qatar.

"Did I not give you lives long enough, so that whosoever would receive admonition could receive it? And the warners came to you....” (Qur’an 35:37)