Bhagavad Gita · 16.17
आत्मसम्भाविताः स्तब्धा धनमानमदान्विताः।यजन्ते नामयज्ञैस्ते दम्भेनाविधिपूर्वकम्॥
ātma-sambhāvitāḥ stabdhā dhana-māna-madānvitāḥ yajante nāma-yajñais te dambhenāvidhi-pūrvakam
Self-conceited, stubborn, intoxicated by wealth and pride, they perform sacrifices in name only, with hypocrisy and without following the proper rites.
— Bhagavad Gita 16.17
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)