Religious people today, compartmentalize their attitude to the Bible. They pay it lip service as a symbol of morality while getting their actual morality from more modern principles.
Steven Pinker, The Better Angels of Our Nature: Why Violence Has Declined
morality, religioun