1. I'm not religious, I actually prefer the occult, but I still study into other religions. Just saying.
2. Rational reasoning needs a rational basis, and therefore cannot be known before being created. Society mainly is the cause of this rational basis, but in some cases an external morality appears from another society. In this way street gangs have their own subjective morality. I had to write a paper on this before, and I would love to debate this.
3. I apologize for using the 10 commandments. I remembered the don't kill/steal and took a leap at it. My mistake.
Like I said. Most bible stories you really need to ask yourself, was this intended to inspire morals? Most weren't. Most were about something else whether it be devotion to the religion, or otherwise. For this reason I think it is stupid to use the WHOLE book as a moral compass. I'm also not saying that it should be the only thing that creates your moral compass, because that would be silly. You also have to remember that all the books were written by different people, some of which may or may not have been on the ball.
Should it be a moral compass, no. Can it supplement a moral compass? Yes. There are some things to take away from most religious texts, mainly to not kill, or steal. The key fact is that religion says that these acts are always 'punishable', even if no one saw it. Society can't deter something it doesn't witness, but religion can. In this way it can supplement a moral compass.