An American saying meaning ‘close but nope’.

This saying comes from the practice of giving cigars as prizes at carnivals (imagine that happening today lol).