@jacksparThe leaders of churches define what is and is not moral; based on personal beliefs, not the bible.
Each church's minister (or other title) teaches their parishioners the church leaders' definitions of moral. That is why many of us believe there is a major difference between religion and what is espoused and practiced by the various churches.
The above is one of the reasons the churches that define themselves as Christian cannot agree on the content of the Holy Bible. The result is multiple versions of the Holy Bible. The various Holy Bibles contain different Books (Scriptures). Furthermore, the parishioners of each church believe that their version of the Holy Bible is the true version.
If I recall correctly, this problem began around 400-450 A.D. At that time, the religious leaders established guidelines that defined that the scriptures attributed to being written by the disciples should be considered 'Holy'. As new churches were established, their leaders decided which scriptures should become part of their Holy Bible.
The evolution of the Holy Bible is more complex than the basics I mentioned above. Do a search on "History of the Holy Bible", if you are interested if the subject.