close but no cigar, (it was)

close but no cigar, (it was)

Nearly successful, but not quite. This slangy Americanism dates from the first half of the twentieth century. It most likely came from the practice of giving a cigar as a prize to the winner of a contest, such as hitting the target in a carnival shooting gallery.
See also: but, close, no