Every person will taste death. There’s no doubt about it. We were not made for this world. We were all made for the hereafter. This life is merely a passing place waiting for our real destination – in Jannah, InshāAllāh.
No one can or will escape death. No matter how wealthy and brave you may be. [Wherever you will be, death will overtake you, even if you are in fortified castles. (Qur’ān, Sūrah An-Nisā (4), verse 78)]
While life and death are from Allāh, we have to remember that they are to take place with the permission of Allāh alone. Each one’s life and death is decided by Allāh. You will and are going to return to your Lord. That is definite. What isn’t definite for us is when that will happen. Therefore, it shouldn’t be a trait of a Muslim to be afraid of death, despite all possible defences one may arrange for himself. – Try your best in this world. Allāh will never let your efforts will never go to waste.
Without entering in this world and without leaving this world, we cannot enter Jannah, which is our ultimate goal. We can’t have hope and always pray for the highest of Jannah without tasting death. Death is the only truth this life can promise us. It is a passage to Paradise. Just as you pass through a door and you end up on the other side, or in another room. Similarly, death is a door, you leave this world, and enter into the hereafter. Therefore, it is important that we all remember the death constantly and try our best to prepare for it.
Ḥaḍrat Āishah رضي الله عنها asked the Messenger of Allah ﷺ, “O Messenger of Allāh (ﷺ), shall anyone be resurrected alongside the martyrs?” The Messenger of Allah ﷺ replied, “Yes. He who recalls death 20 times in one day and night.”
[The Remembrance of Death and the Afterlife, Imām Al-Ghazālī رحمه الله, page 9]