The Bible is not a source of morality. If the Bible is the word of God, then God is exceedingly immoral.
God has no excuse for the horribly immoral things he condones and commits as stated in both the Old Testament and the New Testament
God condones Lot offering his virgin daughters to be raped by rewarding him. He allowed Lot to escape the destruction of Sodom.
God condones human sacrifice. He tells Abraham to sacrifice his son, which Abraham is quite willing to do without knowing that God is going to change his mind at the last moment.
God condones mass murder (genocide)