Written in to the Bible is the idea that it is the inspired word of God, and therefor infallible. Do you see the circular reasoning? It claims to be it's own proof. As far as it being a history book... it is in a manner of speaking, but it is a collection of stories, some probably true, exaggerations, parables, and superstitions all biased toward the people who wrote it. They were primitive tribesmen with no concept of the scientific method, they didn't consider such things as observation, evidence and experiment. They used their imaginations and prior myths, legends and religions to explain the world around them and to create a power structure to run their society.