BG 16.24
ज्ञात्वा शास्त्रविधानोक्तं कर्म कर्तुमिहार्हसि ॥
jñātvā śāstra-vidhānoktaṁ karma kartum ihārhasi
Word-for-word meanings
tasmāt — therefore; śāstram — scriptural revelation; pramāṇam — [is] the means of authentic knowing; te — [available] to you; vyavasthitau — in ascertaining; kārya — what is to be done; akārya — [and] what is to be avoided; arhasi — you are meant [i.e., you should]; kartum — to act; iha — in this world; jñātvā — [only] on acquaintance with; karma — action; uktam — as described; vidhāna — [according to] the prescriptions; śāstra — [of] scripture.
Translation
Therefore, scriptural revelation is the means of authentic knowing available to you in ascertaining what is to be done and what is to be avoided. You should act in this world only on acquaintance with action as described according to the prescriptions of scripture.