Why does Islam talk about death so much? Isn't that morbid?
In short
Because remembering death is meant to make life clearer, not darker. The Quran, Islam's scripture, says God created death and life as a test of what people do with their time. Keeping the end in view shrinks petty worries, sharpens priorities and turns attention to what lasts: how a person lives and how they treat others. Islam pairs this with hope, and it forbids wishing for death because of hardship.
A thought that clarifies
The verse that explains why we are here mentions death before life: God created both to see who is best in deeds. In this picture death is not an absurd interruption. It is the edge that gives a life its shape, the way a frame gives a picture its edges. Many traditions have noticed something similar; the Stoic philosophers of Greece and Rome practised remembering death for much the same reason.
The traveller
According to a hadith (a report of the Prophet Muhammad's ﷺ words), the Prophet took his young Companion (follower) Ibn ʿUmar by the shoulder and told him to be in this world like a stranger or a traveller. Ibn ʿUmar used to add: do not count on the evening when you reach the morning, and take from your health for your illness and from your life for your death. A traveller still eats, rests and enjoys the road. They just do not mistake the inn for home.
What goes with you
Another hadith says three things follow a person to the grave: family, wealth and deeds. Two go home again; the deeds stay. Al-Ghazali, an eleventh-century theologian, devoted a whole book of his Revival of the Religious Sciences to remembering death and what comes after it. His point was practical: a heart that remembers its end loosens its grip on grudges, vanity and hoarding.
Not despair, and not a wish to die
Islamic teaching keeps the remembrance of death away from despair. The Prophet ﷺ told people not to wish for death because of a calamity, and to ask instead that God keep them alive while life is better for them. He also asked them to die thinking well of God. If thoughts of death come to you as a wish to die, or as fear that will not let go, please talk to a doctor or counsellor, and if you are in danger contact local emergency services or a crisis line; findahelpline.com lists free lines by country.
Sources
ٱلَّذِي خَلَقَ ٱلۡمَوۡتَ وَٱلۡحَيَوٰةَ لِيَبۡلُوَكُمۡ أَيُّكُمۡ أَحۡسَنُ عَمَلٗاۚ وَهُوَ ٱلۡعَزِيزُ ٱلۡغَفُورُ ﴿٢﴾
He created death and life to test which of you is best in deeds. He is the Almighty, the All-Forgiving.
IslamLens paraphrase of the meaning, not a translation
Transliteration
Allathee khalaqa almawta waalhayata liyabluwakum ayyukum ahsanu ʿamalan wahuwa alʿazeezu alghafooru
Narrated by ʿAbdullah ibn ʿUmar: the Prophet ﷺ took him by the shoulder and told him to be in this world as a stranger or a traveller. Ibn ʿUmar used to add: when evening comes, do not count on the morning, and when morning comes, do not count on the evening; take from your health for your illness and from your life for your death.
Summary in our words, not a translation.
Open source text ↗Narrated by Anas ibn Malik: three things follow a dead person to the grave: family, wealth and deeds. Two return, family and wealth, and one remains: the deeds.
Summary in our words, not a translation.
Open source text ↗Narrated by Anas ibn Malik: no one should wish for death because of a hardship that has struck them. If they must say something, let them ask God to keep them alive as long as life is better for them, and to take them when death is better for them.
Summary in our words, not a translation.
Open source text ↗Narrated by Jabir: shortly before his death, the Prophet ﷺ said that none of you should die except while thinking well of God.
Summary in our words, not a translation.
Open source text ↗قُلۡ إِنَّ صَلَاتِي وَنُسُكِي وَمَحۡيَايَ وَمَمَاتِي لِلَّهِ رَبِّ ٱلۡعَٰلَمِينَ ﴿١٦٢﴾
Say: “My prayer, my devotion, my living and my dying are all for God, Lord of the worlds.”
IslamLens paraphrase of the meaning, not a translation
Transliteration
Qul inna salatee wanusukee wamahyaya wamamatee lillahi rabbi alʿalameena
Ihya' 'Ulum ad-Din · The Revival of the Religious Sciences
A wide-ranging work on worship, daily conduct, the vices that ruin the soul and the virtues that save it.