Okay, let me make sure there’s no wordplay.
Is Joe a human male?
Is the compliment something an impartial listener would think it’s a nice thing to say to somebody?
Is the compliment something that Joe thought a nice thing to say?
Is the compliment something that Joe’s wife thought was a nice thing to say?
Was the compliment about her appearance?
Another sense-related thing (Her smell, the sound of her voice, the smoothness of her skin…)?
About her personality?
About some activity she was doing or had been doing?
About something indirectly related to her?
is “his wife” a human female?
Are they legally married according to the marriage laws in the country they reside?
By “invited”, do you mean Joe asked her to go willingly with him to her favorite restaurant?
Was there more people in the conversation?
Was there more people going with them?
Was Joe and her wife relationship stable?
Did Joe want to break things off?
Did Joe’s wife want to break up?
With “slapped” you mean her hand contacted his face at enough speed to cause pain?
Was the intent behind the slap to cause pain to Joe?