QUOTE
Now with my second question to love him and do his work does this mean if you only do one yo will not go to heaven. For example if you were a firefighter and saved many people and donated most of your money to charity but were an atheist would you go to heaven or hell.
Well, I hope I didn't mislead you too much in this posting about works. Works don't come about for God until your heart is first right with God. That's why I directed you to the study. If these works are done by someone with God in mind so to speak, then that's what counts in God's eye:QUOTE
Luke 12:43Blessed is that servant, whom his lord when he cometh shall find so doing. Of a truth I say unto you, that he will make him ruler over all that he hath. But and if that servant say in his heart, My lord delayeth his coming; and shall begin to beat the menservants and maidens, and to eat and drink, and to be drunken; The lord of that servant will come in a day when he looketh not for him, and at an hour when he is not aware, and will cut him in sunder, and will appoint him his portion with the unbelievers. And that servant, which knew his lord's will, and prepared not himself, neither did according to his will, shall be beaten with many stripes. But he that knew not, and did commit things worthy of stripes, shall be beaten with few stripes. For unto whomsoever much is given, of him shall be much required: and to whom men have committed much, of him they will ask the more.
Keep in mind this is part of a parable, which is a lesson. Each person is judged according to what they were given. This is at different levels for different people. At least theoretically, this may have been on act that saved many or many acts that saved just one. Another look into God's heart:QUOTE
Matthew 18:11-14For the Son of man is come to save that which was lost. How think ye? if a man have an hundred sheep, and one of them be gone astray, doth he not leave the ninety and nine, and goeth into the mountains, and seeketh that which is gone astray? And if so be that he find it, verily I say unto you, he rejoiceth more of that sheep, than of the ninety and nine which went not astray.
What I'm trying to get here is that it's more about the context of the deed than the deed/work itself. That is where God is the judge of the person and will determine where they go. The work is ultimately defined by God as to whether it is good or not. Is the work of the atheist in vain, if he is not yet with God in his heart? I don't think so; I don't believe much in this world happens as a result of coincidence, and more importantly the Bible seems to convey that message as well.QUOTE
Or If you were a devout christian and a murderer.
There is actually Biblical precedence for this, in the form of King David.QUOTE
Acts 13:22And when he had removed him, he raised up unto them David to be their king; to whom also he gave testimony, and said, I have found David the son of Jesse, a man after mine own heart, which shall fulfil all my will.
So, to answer your question perhaps a little cryptically, God is judge.