Why do religious people find it hard to accept that you don't need religion to have a good moral code? Just curious why some religious people think that without god there is only evil. Why can't a person without a religion be a good person, sometimes even better than some religious people?
Its not necessary for a person to have a religion to have good moral codes.

Hammurabi (1792-1750 BC) was a Babylonian King who gave one of the First Law in the World. The law was very similar the Mosaic Law, "Eye for eye, tooth for tooth".


  Exodus 21:24  Eye for eye, tooth for tooth, hand for hand, foot for
  foot, 25 burn for burn, wound for wound, bruise for bruise.


Every human is given the ability to decide what is right and wrong. Even the murderers kill others knowing that it is bad, but they just don't care. 

Many religions give the idea that doing good deeds is the way to Heaven and doing bad things will lead you to Hell. Thus promoting the idea of Salvation by Work. Some religions even lay down obligations to be fulfilled in order to enter Heaven/Paradise.

Christianity has a different concept. The Bible teaches us the idea of Salvation by Grace.


  Ephesians 2:8-9 (NIV) For it is by grace you have been saved, through
  faith—and this is not from yourselves, it is the gift of God — not by
  works, so that no one can boast.


Your good deeds will not open the gates of Heaven. Your bad deeds are also not the main  reason why you should go to Hell. But Christians should do good deeds because we are saved by grace. Christians are called to be Holy, because God is Holy. 


  Romans 12:1 (NIV) Therefore, I urge you, brothers and sisters, in view
  of God’s mercy, to offer your bodies as a living sacrifice, holy and
  pleasing to God—this is your true and proper worship.


Christ died for our sins. He took all our punishment on the cross. When we remember how much God had done for us, we recieve the power to overcome sin and reflect Christ-like character.