Advice to migrate and the Promise of Provision and a Goodly Reward
Allah commands His believing servants to migrate from a land in which they are not able to establish Islam, to the spacious earth of Allah where they can do so, by declaring Allah to be One and worshipping Him as He has commanded. Allah says:
(O My servants who believe! Certainly, spacious is My earth. Therefore worship Me.) When things became too difficult for the believers in Makkah who were in a weak position and were oppressed, they left and migrated to Ethiopia, where they were able to practice their religion. The Muslims found Ethiopia the best place for guest; where Ashamah, the Negus or king, may Allah have mercy on him, gave them refuge, helped them, supported them, and honored them in his land. Later, the Messenger of Allah ﷺ and his remaining Companions migrated to Al-Madinah, formerly known as Yathrib, may Allah protect it. Then Allah says:
The answer to this problem is given in the next verse: كُلُّ نَفْسٍ ذَائِقَةُ الْمَوْتِ (Every person has to taste death - 29:57) that is, no one has any escape from death anywhere in any situation. Therefore, it should not be the trait of a Muslim to be afraid of death, because despite all possible defenses one may arrange for himself, death will overcome him. And it is also part of a believer's faith that death cannot come before the time Allah has determined. Therefore, fear of death should not be an impediment in one's decision about his staying at a certain place or leaving it. If death comes during the course of following a command from Allah Ta’ ala, it would bring eternal blessings and comforts, which one will get in the Hereafter, as stated in the next two verses:
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 55–59
Man’s deeds make his Paradise and his deeds make his Hell too. Were it possible to view the consequences of the deeds of one who had adopted the way of denial and insolence, it would be seen that his apparently great deeds actually signalled the punishment which he merited and which lay in wait for him. Death is but to come and dispatch him to the world he has built for himself. Most of a man’s arrogance is nothing more than the result of his ignorance of the reality pertaining to his own existence. If this ignorance were to be replaced by knowledge, he would become a completely different man.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.