Bert or Kurt?

I always thought this kind of self-contradictory statement was a consequence of Kurt Gödel’s incompleteness theorem (qv), but here I see it attributed to Bertrand Russell.

https://www.smbc-comics.com/comic/drink

This is philosophically (or mathematically) equivalent to the statement “This sentence is false.” Gödel definitely warned that things that refer to themselves can get you into trouble.