Bhagavad Gita 17.12

अभिसन्धाय तु फलं दंभार्थमपि चैव यत् |
इज्यते भरतश्रेष्ठ तं यज्ञं विद्धि राजसम्

Translation

O best of the Bharatas, know that sacrifice performed for material benefit, or with a hypocritical aim, is in the mode of passion.