Bhagavad Gita 17.12
Chapter 17, Verse 12
अभिसंधाय तु फलं दम्भार्थमपि चैव यत्।इज्यते भरतश्रेष्ठ तं यज्ञं विद्धि राजसम् ॥
abhisandhāya tu phalaṃ dambhārtham api caiva yat ijyate bharataśreṣṭha taṃ yajñaṃ viddhi rājasam || 17.12 ||
English translation
Sacrifice which is performed for the sake of its results, or for self-glorification - that, O best of Aryans, is the product of passion.
Shri Purohit Swami — Bhagavad Gita English translation
Commentary
If anyone performs a sacrifice in order to obtain? heaven? son? wealth? or name and fame? then it is a sacrifice of a Rajasic nature. The performer of this kind of sacrifice has the motive of increasing his own importance? for popularising his own name in the world? for gaining some reward? for showing himself off as a great? pious and learned man? for making an exhibition of his riches for his own glorificaion. He has no aspiration for attaining the knowledge of the Self.
Swami Sivananda — Bhagavad Gita English commentary (public-domain dataset)