Bhagavad Gita 4.11

ये यथा मां प्रपद्यन्ते तांस्तथैव भजाम्यहम् |
मम वर्तमानुवर्तन्ते मनुष्या: पार्थ सर्वश:

Translation

In whatever way people surrender unto Me, I reciprocate accordingly. Everyone follows My path, knowingly or unknowingly, O son of Pritha.