How can I not let the pain of failure consume me?

For so long I hoped for a girlfriend and I finally got one when I was 29 serious communication issues ultimately caused the relationship to fail it led to arguments. She didn’t understand my disability often saying I was making excuses when I said I couldn’t do something because I’m on the autism spectrum or calling me names if I did something. For example I would pick my fingers and she started calling me salad fingers. Or she would make fun of my ocd because I have to stand at a sink for 6 minutes cleaning a cup cause my brain is telling me it’s not clean or anxiety. She broke up at the start of the year with me because there were plans to go to New York for New Year’s Eve but the more my brain processed it was like nope this isn’t a good idea so I told her my anxiety is spiking thinking about being around millions of people and that wasn’t good enough for her she twisted into I was making it about myself and letting other people down.

How can I not let the pain of failure consume me?
Post Opinion