Bhagavad Gita Chapter 18.32
adharmaḿ dharmam iti yā
manyate tamasāvṛtā
sarvārthān viparītāḿś ca
buddhiḥ sā pārtha tāmasī
Translation
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 Partha, is in the mode of ignorance.