Charak Samhita
विषमाभिनिवेशो यो नित्यानित्ये हिताहिते। ज्ञेयः स बुद्धिविभ्रंशः समं बुद्धिर्हि पश्यति ॥९९॥
If something eternal is viewed as ephemeral and something harmful as useful, and vice versa, this is indicative of the impairment of intellect. For, the normal intellect views things as they are.
english translation
viSamAbhinivezo yo nityAnitye hitAhite। jJeyaH sa buddhivibhraMzaH samaM buddhirhi pazyati ॥99॥
hk transliteration by Sanscript