The Bible is not the word of God anymore than our posts in this thread are. However, I suspect that the original writers wanted their contemporaries to think what they wrote was the word of God. They would likely be amused that some of us still do.
I find it more interesting to ask who wrote the earliest texts of the Bible and why. These are the texts in Genesis, written by J, and the historical texts in Samuel and Kings written by the Court Historian. They were written around the time of Solomon, almost 3000 years ago.
The ideas that I find most appealing at the moment come from two sources, the literary critic, Harold Bloom, and the historian, Baruch Halpern.
Bloom suggests that J was female. Reading Genesis in that way, I would have to agree it sounds like a female voice. This woman must have been powerful in Solomon's court and so he identifies her with Bathsheba. The idea of Bathsheba being the author leads one to Halpern's study to find out why she might have written Genesis.
Halpern's study of Samuel and Kings in David's Secret Demons claims that these texts were written to encourage people to believe that Solomon was actually David's son and the legitimate heir when in fact he was not. What Solomon did was staged a military coup with the help of his mother and Nathan inside David's court. He made sure of his success by wiping out David's blood line and the Court Historian (Nathan?) and his mother, Bathsheba, created the history and stories to prop up his reign.
So these earliest texts were not really religious texts, but a form of early propaganda using God as needed to encourage belief and allegiance to the current rulers.