He was kind of right.
Your biology plays a joke on you. Your very genes and evolution, encoding all the information necessary in setting off all of the complex and emergent phenomenon we know as human biology, is an illusion to get us to eat, sleep and fuck.
Our neurology and perception play a grand joke on us, only showing us a small fraction of the external world. And our very minds form a perception of reality that is in fact NOT that true reality, but just a small and abstracted representation of limited aspects of input information or stimuli. Ever more so it will only allow us to perceive the things that are necessary for biologically satisfying ourselves.
Then there is the whole philosophical argument that we all will die and maybe its all for nothing etc. haha so who knows.