I found this article about morality,
https://www.verywellmind.com/what-is-morality-5076160
Pretty good read and it might give you a better understanding of where morals might come from and what they are generally based on.
In my opinion whatever happens in the privacy of a marriage is that...