It is a beautiful example which shows that the Lord listens to our prayers. Whatever situation may come, we should never stop praying to God.
Hare Krishna!!