Sāṃkhya Kārikā verse 18

janana-maraṇa-karaṇānāṃ pratininyamāt-ayugapat-pravṛtteḥ ca |
puruṣa-bahutvaṃ siddhaṃ traiguṇya-viparyayāt-ca-eva ||

pravṛtti - finer cognitionpuruṣa - animating principle, self, consciousness, spiritguṇa - attributes of nature; qualitiesviparyaya - wrong perception