As a metaphor, the phrase "like putting lipstick on a pig" indicates a lost cause or a futile gesture. The idea is that a pig will never be glamorous, no matter how well-coifed. Some things are simply beyond salvaging.