close, but no cigar
(idiomatic, originally US, colloquial) Used to indicate that one is almost correct or has almost succeeded, but not quite. [from early 20th c.]
Synonyms: almost doesn't count, a miss is as good as a mile
Betty ran all out in the sprint race; yet, it was close, but no cigar.