I think religion tries to have the monopoly on morality. I have my own morality and i see some very immoral things that YHWH did in the bible. If he were a human being on earth he'd be worse that Pol Pot, Stalin and Hitler.
However, there are things that many religions called immoral that i personally have no problem with.
Perhaps there's an evolutionary answer for this, protecting myself and my genes and my offspring obviously ensures the survival of my genes. The means of doing so may be considered immoral by some people.
Killing someone who's trying to kill me? I say moral. Bible says immoral.
Stoning someone to death for picking up sticks on Saturday? I say immoral. Bible says moral.
We certainly shouldn't be getting our morals from the Bible, Quran or L Ron Hubbard.