I think the issue here lies in the fact that "nothing" can mean two things in English: either "no other thing" or "the absence of anything" (i.e. "nothingness")
(No other thing) is better than a cookie -> A cookie is better than every other thing
(The absence of anything) is better than a cookie -> It would be better not to have anything than to (be forced to) have a cookie [a somewhat existential take on baked goods]
This is actually a great example of where the double negative in some languages is really helpful. In Polish, "Nic nie jest lepsze niż ciasteczka" (nothing is not better than a cookie) can only mean "Cookies are better than everything else". You can't say "Nic jest lepsze niż ciasteczka" (nothing is better than a cookie) - it's grammatically incorrect.
To have the second meaning ("I would rather have nothing at all than have a cookie") in Polish you would have to say something like "Lepiej nie mieć nic niż mieć ciasteczko" (It is better to have nothing than to have a cookie) or just "Lepsze nic niż ciasteczko" (Better nothing than a cookie). Super clear 
To nie tak, "lepszy wróbel w garści, niż gołąb na dachu"- a "z ciasteczkiem" problem jest z gatunku problemów urojonych.
"Nic nie jest lepsze niż świeże ciasteczko", oznacza iż świeże ciasteczko jest lepsze niż wczorajsze, przedwczorajsze czy to wyciągnięte własnie z lodówki.
Ono-"ciasteczko świeże" jest
bazą w zbiorze ciasteczek a nie wszystkiego w świecie realnym materialny i świecie emocji i uczuć.
A tak poza tym -
Nigdy nie mów nigdy- to dopiero problem filozoficzny...
P.S.
Wpis po polsku najpierw, bo Ty jak mniemam dasz radę zrozumieć sens tego co napisane, wersja przetłumaczona przez Google Translate znów ulegnie "transformacji" , która według algorytmu ostatnio mającego ciągoty do "poetyki", napieprzy coś po swojemu całkowicie zmieniając sens. Polski język jest całkowicie za trudny dla tego silikonowego złomu. Nawet wróbla zmienia ten złom w ogólnego "bird", ehh szkoda nerwów.

Pozdrawiam z zaśnieżonej Polski, "genetycznego" Polaka. Andrzej.
By spełnić wymóg formalny także w esperantto forumowym.
It's not like "a sparrow in the hand is better than a pigeon on the roof"—and the cookie problem is one of the imaginary kind. "Nothing is better than a fresh cookie" means that a fresh cookie is better than yesterday's, the day before, or the one just pulled out of the fridge. It—"a fresh cookie"—is the basis for a collection of cookies, not everything in the real, material world and the world of emotions and feelings.
And besides, never say never—that's a philosophical problem...
P.S. Post in Polish first, because I assume you'll be able to understand the meaning of what's written. The Google Translate version will undergo another "transformation," which, according to an algorithm recently inclined to "poetics," will screw something up, completely changing the meaning. The Polish language is completely too difficult for this silicone junk.
Greetings from snowy Poland, a "genetic" Pole. Andrzej.