Sure Aal-i-Imraan

3:143

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

Und ihr habt euch ja wiederholt den Tod gewünscht, bevor ihr ihm begegnet seid. Nun habt ihr ihn mit eigenen Augen geschaut.

Tafsir 3:143

O believers, you wished to meet the disbelievers so that you could gain martyrdom for the sake of Allah, like your brothers did on the day of Badr, before you saw the severity and ways of death. Now on the day of Uḥud you have seen what you wished for with your own eyes.