All the books of the OT are pretty much fables wrapped in pieces of actual geography/history. Real people are probably written about in some cases, but when magic is invoked into the tale, only a child should take the stories at face value.