Should a man or woman stay in a marriage when they are getting disrespected, and their spouse doesn't see anything wrong with it?

First I gotta preface this, this is not happening to me, my wife and I are fine. This is purely a question I'm curious about.

For some additional details, a friend of mine just finished his divorce. This situation was something that made my wife and I reflect on our own marriage.

Basically the couple was on vacation with their friends. They were all at a beach. His wife found an attractive guy, spent three hours with him, and the item that broke the camel's back was that she asked him to put sun screen on her back. He went up to her and ajsed her to stop, a
That he would do it.. Instead of agreeing, she mocked him, and called him insecure. She said "if you have a problem with it, leave" so that's what he did, he left, flew home, separates their finances, and moved out before she got home. She repeatedly texted and called him. The only people he responded to was his friends. Eventually when she got back she was all apologies and crocodile tears.. He just didn't care, he told her straight up that he wasn't going to be married to someone who disrespected him.

As of now the divorce is finalized. My wife and I both agree that neither of us would tolerate disrespect like that.
Updates
6 mo
You know there is a reason i remove EZ What ever the fuck her name is, comments from my questions. She always takes the side of the person who disrespects people, almost always the side of women as if they can never do any wrong, And you always push to the extreme end of things rather than taking things as they are. Additionally i think she has histrionic personality disorder.. So now your comment is gone, and you are now blocked.
Should a man or woman stay in a marriage when they are getting disrespected, and their spouse doesn't see anything wrong with it?
Post Opinion