Husband: "I bet you can't say something that will make me both happy and sad at the same time."
Wife: "You have the biggest penis out of all your friends."
The humor comes from the wife's response. It's a backhanded compliment because while having the 'biggest penis' is generally seen as a positive thing, the statement implies that the husband's friends are inferior and that the husband's 'best' quality is his penis size, potentially indicating shallowness in social comparison, thus making the husband both happy and sad. The use of the word 'friends' also adds a bit of insult to the husband's ego.
Dick master bator
Shit joke