Chapter 18 · Liberation through Renunciation · Krishna said
Bhagavad Gita 18.18 — What drives action
ज्ञानं ज्ञेयं परिज्ञाता त्रिविधा कर्मचोदना। करणं कर्म कर्तेति त्रिविधः कर्मसंग्रहः ॥
jñānaṃ jñeyaṃ parijñātā trividhā karmacodanā | karaṇaṃ karma karteti trividhaḥ karmasaṃgrahaḥ ||
Meaning
Knowledge, the object known and the knower are the three that prompt action. The means, the act and the doer are the three parts of action.