God, on being worshipped, bestows steadiness in devotion which leads to surrender. On the devotee surrendering, God shows His mercy by manifesting as the Guru. The Guru, otherwise God, guides the devotee, saying that God is in you and He is the Self. This leads to introversion of the mind and finally to realization.