Srimad-Bhagavatam: Canto 5 - Chapter 1 - Verse 4
यावन्मनो रजसा पूरुषस्यसत्त्वेन वा तमसा वानुरुद्धम् । चेतोभिराकूतिभिरातनोतिनिरङ्कुशं कुशलं चेतरं वा ॥ ४ ॥
yāvan mano rajasā pūruṣasyasattvena vā tamasā vānuruddhamcetobhir ākūtibhir ātanotiniraṅkuśaṁ kuśalaṁ cetaraṁ vā
As long as the mind of the living entity is contaminated by the three modes of material nature (goodness, passion and ignorance), his mind is exactly like an independent, uncontrolled elephant. It simply expands its jurisdiction of pious and impious activities by using the senses. The result is that the living entity remains in the material world to enjoy and suffer pleasures and pains due to material activity.
In Caitanya-caritāmṛta it is said that material pious and impious activities are both opposed to the principle of devotional service. Devotional service means mukti, freedom from material entanglement, but pious and impious activities result in entanglement within this material world. If the mind is captivated by the pious and impious activities mentioned in the Vedas, one remains eternally in darkness; one cannot attain the absolute platform. To change the consciousness from ignorance to passion or from passion to goodness does not really solve the problem. As stated in Bhagavad-gītā (14.26), sa guṇān samatītyaitān brahma-bhūyāya kalpate. One must come to the transcendental platform; otherwise life’s mission is never fulfilled.