I know some couples who opted to stay together through the blahs because they were focused on prioritizing their family and cultivating their home and friendships and shared bonds. I know others who divorced yet in hindsight ended up wishing they had stayed with their partner and what they'd built together. I know still others who divorced and went on to build partnerships with other people, or they've remained single out of choice.
All of the above are valid options. We are not the morality police here, and we're also not living your life FOR you, so we don't get a vote. I will say, however, that I would opt to fully lean into my choices--none of this half-azzed, "I'll just resign myself to misery..." stuff. I mean, you can do that if you want, it's not against the law, but it's a mental take-down of yourself and everyone around you.
I can appreciate that you feel this way in this moment, because this is how people typically feel after a breakup. So grief is natural, but I'd reach for some professional help with it. People have no trouble hiring a plumber or electrician or tax accountant when they need that level of expertise, so why disqualify your whole quality of life when there is expertise to be hired there to help you enhance it?