Sura Maryam

19:23

فَأَجَآءَهَا ٱلْمَخَاضُ إِلَىٰ جِذْعِ ٱلنَّخْلَةِ قَالَتْ يَٰلَيْتَنِى مِتُّ قَبْلَ هَٰذَا وَكُنتُ نَسْيًۭا مَّنسِيًّۭا

Och [när hennes tid var inne] drev henne födslovåndorna [att ta stöd] mot en palmstam och hon utbrast: "Ack om jag hade fått dö och överlämnas åt glömskan innan detta [skedde]!"

Tafsir 19:23

And the pangs of childbirth struck her and made her take refuge by the trunk of a date tree. Mary said: “If only I had died before this day and I was something not even mentioned, so that bad is not thought of me”.