It is not uncommon for people to read something in the Bible, condemn it or mock it, and refuse to consider the possibility that their criticism is based on a fundamental misunderstanding of the genre of the passage they are investigating. I recently came across a present day illustration of this phenomenon. I am a fan of Weird Al Yankovic, and I also somewhat regularly read First Things website. So when the First Things website did an article on Yankovic I just had to read it.
Unfortunately, the author seems to completely misunderstand the genre as the many comments beneath the article illustrate. If we can so easily misunderstand a genre in or present day how easy is it to misunderstand a piece of literature from centuries ago? Before you criticize the Bible you may want to consider increasing your familiarity with the literature, as well as consulting those who are more familiar with the literature, like a good commentary.