Bhagavad Gita 16.17

आत्मसम्भाविताः स्तब्धा धनमानमदान्विताः।यजन्ते नामयज्ञैस्ते दम्भेनाविधिपूर्वकम् ॥१६.१७॥

ātmasambhāvitāḥ stabdhā dhanamānamadānvitāḥyajante nāmayajñaiste dambhenāvidhipūrvakam

Self-conceited, stubborn, filled with pride and intoxication of wealth, they perform sacrifices in name only for ostentation, contrary to scriptural ordinances.

गीता