Some of it is. That doesn't mean its message is false.
The central message of the whole Bible is personified in Jesus Christ. Jesus Christ's message was that love was the most important thing we needed to do: love God and each other.
Everything else, whether it's literal or fiction, is only...