Bhagavad-gītā As It Is · Text 17.18
Austerities of body, speech and mind
सत्कारमानपूजार्थं तपो दम्भेन चैव यत् ।
क्रियते तदिह प्रोक्तं राजसं चलमध्रुवम् ॥ १८ ॥
satkāra-māna-pūjārthaṁ
tapo dambhena caiva yat
kriyate tad iha proktaṁ
rājasaṁ calam adhruvam
Penance performed out of pride and for the sake of gaining respect, honor and worship is said to be in the mode of passion. It is neither stable nor permanent.
Read Śrīla Prabhupāda's purport on Vedabase.io