It's been my observation that if you ask most people who espouse a particular philosophy couched in "morality", that they claim that following their particular moral code will lead to well being. I've also found that the strong that belief is, the less likely that those followers have actually spent time thinking on the ramifications of their moral code towards that goal. They think they have thought about it a lot, but typically they've just spent brain cycles thinking about the code and how to follow it most closely -- not what following that code leads to.
I'm not disagreeing, just throwing in an observation -- most moral codes claim to lead to well being, but in reality many of them do not actually go there.
This phenomenon seems to create a particularly powerful barrier to rational thought that very few people seem to be able to overcome and can even seem to defeat some individuals.
I've seen friends, family and colleagues fail repeatedly to come to terms with this, they think it's because they haven't applied themselves completely to some arbitrary code so the only solution is to double down again and again.
After decades of doubling down this seems to drive people closer and closer to a kind of insanity...I've seen a few withdraw into fantasy worlds constructed of such powerful cognitive dissonance (arising from the inherent contradictions of their moral code and the observed outcome) that having a normal conversation about simple things, like the weather, become impossible -- they can barely complete a sentence without contradicting themselves or becoming lost and sidetracked about how such and such random topic has some particularly deep meaning in their hyper acute moralist world.