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 - any solid body; bodily frame; one's 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.”