I might resoons several ways starting with one of these....
Books are not sentient and can't talk.
Society has risen above and transcended biblical morality.
In ancient times, peopel who were mentally disturbed, heard voices and saw things which nobody else saw were said to be "touch by the god(s)". The mos t functional of these became known as "prophets." So, woudl you trust a mentally ill person for guidance? Why shoudl ti make a difference if the person lived thousands of years ago?
The bible is an amalgamation of stories plagiarized from earlier religions and myths.