So you are saying the bible is full of shit?
BTW, I am agnostic and don't believe in any man made gods.
I'm saying the Bible is a mixture of allegories, parables, social laws and history. Much (if not all) of what happened before Moses was passed by word of mouth for thousands of years before Moses wrote it down in the first 5 books of the Bible....and even that part is subject to debate.
Still, like all books of ancient wisdom, much can be learned from it. Take the pork dietary rules for example. In the days before refrigeration and modern biology and medicine, trichinosis and other diseases could wipe out an entire tribe. Having a rule against eating pork saved lives much like our seat belt laws are designed. With the advent of science, eating pork can be made safe. That doesn't mean the Bible is "full of shit", just that parts of it are antiquated.
I was an agnostic and, later, an atheist from age 12ish to almost 17...then I had a near-death-experience (NDE). No, I didn't see Jesus or God, but it thoroughly convinced me there is more to existence than what we think there is. Yes, I've read a bunch of studies about brain shutting down and all, I made an extensive exploration into, ahem, "altered states of consciousness" in an attempt to replicate the experience. I've been anesthetized and knocked out cold.
Nothing came close to my NDE experience. I think there is wisdom to be learned from ancient writings and from religions, but they are just tools for learning. Not ends unto themselves.