Omnia Vanitas?

Omnia vanitas, saith the Preacher of Ecclesiastes.

But if all is vain, so too is the taking note of it; whence one might reasonably conclude that all is not vain.

Vanity is not the last word. It is the penultimate word.