To get back to the original question.
The bible is inspired just like much of our literature is inspired. The inspiration is from the author’s perception of the world around him/her. Giving authority and literalism to ancient myths and campfire stories is the best way to control a group of people beyond arms reach.
A person who is raised in or near a Christian environment may, at least initially, be hesitant to question the authority of the bible. If, however, you handed the bible to someone who had never heard of it before, it would take a fair bit of persuasion to establish it as authoritative.
You would expect to see inconsistencies in value judgments when writings from different authors and different times are crammed together and called a book.
Metaphors are used in most writings both ancient and modern. God is used as a metaphor when there is not an actual person expected to exist. That’s probably why god is usually referred to as he.
Even though the bible isn’t supernaturally inspired or authoritative, it still has some interesting and some useful stories, not any more violent than modern wars or video games.
"Anyone who has the power to make you believe absurdities has the power to make you commit injustices."
Voltaire