Granted, writers of the Bible were not just goat herders, they were also ignorant, racist, sexist, superstitious barbarians who believed everything they couldn't explain in the world was magic.
teachings of the Bible are so muddled and self-contradictory that it was possible for Christians to happily burn heretics alive for five long centuries. It was even possible for the most venerated patriarchs of the Church, like St. Augustine and St. Thomas Aquinas, to conclude that heretics should be tortured (Augustine) or killed outright (Aquinas). Martin Luther and John Calvin advocated the wholesale murder of heretics, apostates, Jews, and witches. - Sam Harris, "Letter To A Christian Nation"