Bhagavad Gita 16.24

तस्माच्छास्त्रं प्रमाणं ते कार्यकार्यव्यवस्थितौ |
ज्ञात्वा शास्त्रोक्तं कर्म कर्तुमिहर्षि

Translation

Therefore, let the scriptures be your authority in determining what should be done and what should not be done. Understand the scriptural injunctions and teachings, and then perform your actions in this world accordingly.