“…even if a person engaged in devotional service falls down, he is not degraded, but is placed in a position in which he will in due course of time remember the Supreme Personality of Godhead.”
This is from the Srimad-Bhagavatam 8.3.1
[This chapter of the Srimad-Bhagavatam is entitled “Gajendra’s Prayers of Surrender.” In this chapter, the King of the elephants, Gajendra, having been attacked by a crocodile, prayed to the Personality of Godhead for protection.]
Sri Sukadeva Gosvami continued: Thereafter, the King of the elephants, Gajendra, fixed his mind in his heart with perfect intelligence and chanted a mantra which he had learned in his previous birth as Indradyumna and which he remembered by the grace of Krsna.
… In these verses it is assured that even if a person engaged in devotional service falls down, he is not degraded, but is placed in a position in which he will in due course of time remember the Supreme Personality of Godhead.
As explained later, Gajendra was formerly King Indradyumna, and somehow or other in his next life he became King of the elephants. Now Gajendra was in danger, and although he was in a body other than that of a human being, he remembered the stotra he had chanted in his previous life.
Yatate ca tato bhuyah samsiddhau kuru-nandana. To enable one to achieve perfection, Krishna gives one the chance to remember Him again. This is proved here, for although the King of the elephants, Gajendra, was put in danger, this was a chance for him to remember his previous devotional activities so that he could immediately be rescued by the Supreme Personality of Godhead…