यस्य नाहंकृतो भावो बुद्धिर्यस्य न लिप्यते।
हत्वापि स इमाँल्लोकान्न हन्ति न निबध्यते॥17॥
yasya nāhaṃkṛto bhāvo buddhir yasya na lipyate hatvāpi sa imām̐l lokān na hanti na nibadhyate
One who has no sense of 'I am the doer' and whose understanding is not tainted, even having slain these people, does not slay and is not bound.
This verse is spoken on the battlefield, where Arjuna faced the duty of protecting dharma (what is right). It does not give permission for violence. It means that action does not bind one who is completely free of ego and self-interest and only carries out duty. Tradition regards this as a very high state, not to be claimed lightly.
yasya: whose; na: not; ahankritah: of 'I am the doer'; bhavah: sense; buddhih: understanding; yasya: whose; na: not; lipyate: is tainted; hatva: having slain; api: even; sah: he; iman: these; lokan: people; na: not; hanti: slays; na: not; nibadhyate: is bound

