One verse

Bhagavad Gita 17.18

17.18

सत्कारमानपूजार्थं तपो दम्भेन चैव यत् | क्रियते तदिह प्रोक्तं राजसं चलमध्रुवम् ||१७-१८||

satkāramānapūjārthaṃ tapo dambhena caiva yat . kriyate tadiha proktaṃ rājasaṃ calamadhruvam ||17-18||

sat-kāra
respect
māna
honor
pūjā
and worship
artham
for the sake of
tapaḥ
austerity
dambhena
with pride
ca
also
eva
certainly
yat
which
kriyate
is performed
tat
that
iha
in this world
proktam
is said
rājasam
in the mode of passion
calam
flickering
adhruvam
temporary

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.