Bhagavad Gita: Chapter 2, Verse 64

रागद्वेषविमुक्तैस्तु विषयनिन्द्रियैश्चरन् ।
आत्मवश्यैर्विधेयात्मा प्रसादमधिगच्छति ॥ २-६४ ॥

rāga-dveṣa-vimuktais tu viṣayān indriyaiś caran
ātma-vaśyair vidheyātmā prasādam adhigacchati 2.64

But a person free from all attachment and aversion and able to control his senses through regulative principles of freedom can obtain the complete mercy of the Lord.