Bhagavad Gita 16.23
But he who neglects the commands of the scriptures and follows the promptings of passion does not attain perfection, happiness, or the final goal.
यः शास्त्रविधिमुत्सृज्य वर्तते कामकारतः।न स सिद्धिमवाप्नोति न सुखं न परां गतिम्॥yaḥ śāstravidhimutsṛjya vartate kāmakārataḥ|na sa siddhimavāpnoti na sukhaṃ na parāṃ gatim||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).