Context: A young adult tells his mother that he’s depressed and that life is meaningless and that he wants to die (suicide is not directly mentioned but implied). Then the mother proceeds to express “regretting giving birth to you” directly to that young adult.
(That young adult is me)
You misunderstood that sentence but I’m fine with leaving it be too.