The key to this is that the bible is a collection of books, written over centuries, and in some places heavily edited before it reached its present state. [The editing too may be subject to divine guidance, depending on what you want to believe.]
This is a real problem for anyone who wants to see the whole bible as one equally real and true text.
This is a bit like watching TV for 24 hours in the belief that it's all a documentary, which can get you tied in knots if you watch Coronation Street, Star Trek, The Simpsons and the News.
It helps to know which book of the bible you're dealing with. Different parts are clearly history, some poetry, some folk tales, some philosophy.
The gospel of Mark is generally thought to have been the basis for the gospels of Matthew and Luke, but even Mark started off as a collection of what people remembered, written by someone else, thirty years after the event. That could make it objectively more reliable than the Anglo-Saxon Chronicles.
I guess there is a difference between a story being True, and being Real. At the risk of offending fundamentalist Flemingites, I think there's more Truth in Harry Potter than James Bond.
But the truth is there with or without the magic.... Maybe the same is true of the gospels.