You aren't a failure at all - You just dated the wrong guy - I think every single woman across the globe has done that.
this man is very set in his ways and he isn't going to change. look at his habits - he sounds very anti-social. Not that that's a bad thing, but his lack of social skills is a hint at why he can't have a long-term or serious relationship with a woman. Even if he did come back to you, he'd be inexperienced in having a deep relationship...I know you are tired of being alone, but trust me, it's better to be alone then to be in a bad relationship.
You will get over this - find things to occupy your time and to do, especially in those moments when you are thinking about him, and do things where you might meet someone more deserving of your love. You deserve someone who can give it back to you.