This quote means that if someone is confident and has a good sense of humour, they are likely to impress or be attractive to women. Being confident and having a good sense of humour shows that someone is secure with themselves and also that they are enjoyable to be around. These are qualities that women often find appealing in someone they may want to date.