means that
an old saying jokingly contrasts good fortune in gambling with disappointment in romance, or vice versa; it is not a genuine rule of chance.
Lucky at play, unlucky in love
When someone who enjoys good fortune in games will experience defeat in love and vice versa., the saying “Lucky at cards, unlucky in love” is appropriate.