Bhagavad Gītā Chapter Eighteen verse 15

शरीरवाङ्‍मनोभिर्यत्कर्म प्रारभते नर: ।
न्याय्यं वा विपरीतं वा पञ्चैते तस्य हेतव: ॥ १५ ॥

śarīravāṅmanobhir yat karma prārabhate naraḥ |
nyāyyaṃ vā viparītaṃ vā pañcāite tasya hetavaḥ ||

śarīra - the body, bodily frame, solid parts of the bodymanas - mind; that which objects of sense affect; the faculty or instrument through which thoughts enterkarman - act, action, performance; work, labour, activity; any religious act or rite; organ of sensepañca - five

Commentaries and Reflections

Commentary by TKV Desikachar:

“God is always inside the heart.
However we are not always inside the will of God.
So actions can be right or wrong.”