That mental health and having friends is more important than being in a relationship with someone.
I learned it the hard way as I willingly stayed in a toxic relationship way longer than I should have. I was afraid to be alone, I was afraid I couldn't find anyone else and I was ignoring red flags, because you know...sex...
It was a huge relief when it ended and I cursed myself for not breaking up earlier.