I think it would be more accurate to call the Bible a collection of folk tales. Some are truly intended as accounts of history, others encompass the myths and beliefs of the people, and some are pure imagination that earned inclusion by creative merit. But anyone arguing they are the literal truth, the divine word, or objectively factual will predictably arouse the counter-assertion that they're fairytales.
Progress in understanding is always between the extremes. And who's to say no fairytale writer was ever divinely inspired?