It is incumbent upon mankind to live his short life wisely and in wisdom and knowledge, and do not ruin his intellect and himself in these limited days; he must struggle to utilize this life so as to make his hereafter and this never happens but through faith and good deeds and faith and good deeds will never be achieved but through divine commands.
Do you know anyone who has not died after his birth? Has anyone been given the opportunity to live permanently in this world? The divine prophets and the infallible Imams who were the greatest in virtue and spirituality had the shortest lives at times. Jesus ascended at the age of 33, Hazrat Zahra (as) passed away at the age of 18, and the prophet of Islam with all his status and greatness surrendered to death at the age of 63! Imam Jawad (as) was martyred while he was 25 and the rest of the divine Prophets and the Infallible Imams also died in the very range of ages.
These great people considered this world to be the field for cultivating the hereafter and lived based on this idea.
source : erfan.ir