Bhagavad-gītā As It Is · Text 18.32
Knowledge, action, determination and happiness in the modes
अधर्मं धर्ममिति या मन्यते तमसावृता ।
सर्वार्थान्विपरीतांश्च बुद्धि: सा पार्थ तामसी ॥ ३२ ॥
adharmaṁ dharmam iti yā
manyate tamasāvṛtā
sarvārthān viparītāṁś ca
buddhiḥ sā pārtha tāmasī
That understanding which considers irreligion to be religion and religion to be irreligion, under the spell of illusion and darkness, and strives always in the wrong direction, O Pārtha, is in the mode of ignorance.
Read Śrīla Prabhupāda's purport on Vedabase.io