Surah Al-Imran, ayah 143

3:143

وَلَقَدۡ كُنتُمۡ تَمَنَّوۡنَ ٱلۡمَوۡتَ مِن قَبۡلِ أَن تَلۡقَوۡهُ فَقَدۡ رَأَيۡتُمُوهُ وَأَنتُمۡ تَنظُرُونَ ١٤٣

Walaqad kuntum tamannawnal-mawta min qabli an talqawhu faqad ra'aytumūhu wa antum tanzurūn

And you had certainly wished for death [i.e., martyrdom] before you encountered it, and you have [now] seen it [before you] while you were looking on.