No doubt. However, the bible was not written by God himself but by people.
I once had a debate with my father over God and faith. He is of the mind that ONLY Christians go to heaven. I argued that my belief is God does not turn away someone simply because they are ignorant of a specific faith. How can he condemn someone who is born as a Buddhist? Someone who only knows one way of life? However, I do believe that people intrinsically know right from wrong and/or evil from good and choose to live life one way or another.
Do I think God punishes a little boy for being born a Jihad and who has killed by the time he is 10? That is not something I know the answer to. Maybe he shows the child the truth of goodness and gives him a chance, maybe he doesn't. All I know is that only God can pass judgement, and based upon the 10 commandments and the knowledge that they are rules that are designed to keep us good and pure (as good and pure as a human can be), then I find it difficult to believe that God cannot see true goodness in the heart of one who stands before him in judgement.
I also abhor those who knowingly do bad things and think that by "confessing their sins" they are completely cleansed and can go to heaven. I'm sorry, but I truly believe God can see right through that tactic.