Don't ever give up, do not despair, as in This stage set doesn't look too promising, but never say die, it may still work out. This maxim today is often used ironically and deprecatingly, for something that has already failed. [Early 1800s]
See also: die, never, say