That's not it. Being "funny" is actually a great screening test for being "happy". Try to be genuinely funny when you're miserable. You can't. Not let's crack a joke you read on the internet funny, but say something that's actually funny and in good humor when something isn't going right. That's genuine humor and that's what women are looking for. It's impossible to do it when you're miserable. Women are just screening for happy, successful men.