Srimad Bhagavatam Canto 07, Chapter 04, Text 21

SB 7.4.21

tasyogra-danda-samvignah
 sarve lokah sapalakah
anyatralabdha-saranah
 saranam yayur acyutam
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Everyone, including the rulers of the various planets, was extremely distressed because of the severe punishment inflicted upon them by Hiranyakasipu. Fearful and disturbed, unable to find any other shelter, they at last surrendered to the Supreme Personality of Godhead, Visnu.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Lord Krsna says in Bhagavad-gita (5.29):
 
bhoktaram yajña-tapasam
 sarva-loka-mahesvaram
suhrdam sarva-bhutanam
 jñatva mam santim rcchati
 
“The sage who knows Me as the ultimate purpose of all sacrifices and austerities, the Supreme Lord of all planets and demigods, and the benefactor and well-wisher of all living entities attains peace from the pangs of material miseries.” The Supreme Personality of Godhead, Krsna, is actually the best friend of everyone. In a condition of distress or misery, one wants to seek shelter of a well-wishing friend. The well-wishing friend of the perfect order is Lord Sri Krsna. Therefore all the inhabitants of the various planets, being unable to find any other shelter, were obliged to seek shelter at the lotus feet of the supreme friend. If from the very beginning we seek shelter of the supreme friend, there will be no cause of danger. It is said that if a dog is swimming in the water and one wants to cross the ocean by catching hold of the dog’s tail, certainly he is foolish. Similarly, if in distress one seeks shelter of a demigod, he is foolish, for his efforts will be fruitless. In all circumstances, one should seek shelter of the Supreme Personality of Godhead. Then there will be no danger under any circumstances.
Srimad Bhagavatam Canto 07, Chapter 04, Text 20
Srimad Bhagavatam Canto 07, Chapter 04, Text 22-23