Etymology
Today it means: Used to indicate that one is not correct or has not succeeded. Full definition →
See close, but no cigar.
Etymology from Wiktionary, CC BY-SA 4.0.