There is a very interesting incident described in Indian philosophy. A king(his name was Janak) dreamt that he was a begger. He asked the philosophers of his country what the truth was but was unable to get a satisfactory answer. Then one ascetic(his name was Ashtavakra) told him that both were not real. Only that one unreality was shorter than the other. He was not the body but the immortal soul.
Not a member of The Church of Global Warming of Latter-Day Socialists.