This is an excerpt from my presentation of Bhagavad-Gita, 18.15-17
Krishna: My friend, our science describes five things required to accomplish any action.
Arjuna: What are they?
Krishna: They are the venue, performer, instruments, techniques, and of course divinity. In the most abstract sense, the venue is the world your body inhabits, the performer is your ego, the instruments are your senses, the techniques are the muscles and so forth that utilize those senses, and divinity is the Supersoul. These five are the causes initiating any action a person performs with their body, words, or even in their thoughts.
Someone who sees himself as the sole agent of his deeds has not really developed any intelligence, and is blinded by stupidity. Do not let your intellect be shackled and bound by such an egoistic concept. Realize that you are not the true agent of your action and even if you have to kill all these soldiers you will never be bound to the worldly reactions of your deeds.