Bhagavad Gita · 18.17
यस्य नाहङ्कृतो भावो बुद्धिर्यस्य न लिप्यते।हत्वाऽपि स इमाँल्लोकान्न हन्ति न निबध्यते॥
yasya nāhaṅkṛito bhāvo buddhir yasya na lipyate hatvāpi sa imāl lokān na hanti na nibadhyate
One who is free from the notion of ego, whose intellect is not tainted — even though killing these people, does not kill, nor is bound by action.
— Bhagavad Gita 18.17
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)