The Bible was written entirely by various human beings at a time of extreme superstition and yet it's treated almost like a God wrote it, it's also been altered so many times over the centuries and many things will have been lost in translations while sometimes making it easier for the current people to understand, although every time it's altered part of the original meaning is lost. I also believe that many of the stories were just that "stories" that had morals and meanings, E.g. the story of Noah's Ark, I very much doubt many of them were ever meant to be taken literally. Much of the Bible also contradicts itself in different books, for instance "thou shalt not kill" is supposed to be one of the most important of the 10 commandments, but it's perfectly okay for God to mass murder people if you truly took the story of Noah literally with the flood and what does that say about forgiveness that is also preached in the Bible?
Some of the Bible that is barely ever preached is actually an ancient law book that for instance lays out compensation owned for the loss of an animal that's stolen, obviously this is extremely outdated to say the very least, but people still see everything that is written in the Bible as something that must be followed, E.g. the ultimate truth. Please see
Bible Gateway passage: Exodus 22 - Good News Translation for more. It's very sexist with the word "he" with an important exception. What about "“Put to death any woman who practices magic."? This is why women were tried and killed (in my opinion murdered in terrible ways) for allegedly practising witchcraft and why just women, it's extremely sexist to say the least, but the witch hunters were only following the word of the Bible and therefore must have being doing good and God's work? If this was still followed Spiritualism would still also be illegal under The Witchcraft Act in Britain as it used to be not even that long ago. This is just one example of how the indoctrination of religion can become extremely dangerous and again this totally contradicts "thou shalt not kill", these types of things are just a few of the Bible's many flaws, there's a few similar examples where the punishment is also death. The following is to make people respect and follow people high in power and there's no talk of exceptions, "Do not speak evil of God, and do not curse a leader of your people.", so in that case no-one should have spoken against King Herod or the leaders that allegedly put Jesus to death because they were the leaders of the people too? I could talk about Bible contradictions for ages.