Don’t underestimate the value of your failed relationships. Sure, relationships can (and often do) fail. But certainly, there is no failure in relationship. Relationship itself is always a gain.
These people, even if they’re the wrong ones, are the ones teaching you the most about yourself, what you do and don’t want in a mate, and ultimately preparing you for the one to whom you are destined. For this, if for nothing else, you ought to be able to muster at least a smidgen of appreciation 😉