I don't want to have sex anymore

I've realized over the last few months that I don't want sex anymore. I was in a relationship for about a year with a man that I loved in a way I never had loved a man before and it ended a year ago. I was so broken that I ended up basically offering friends with benefits so I didn't have to lose him entirely... it was pathetic, but he was my best friend and I couldn't stand the thought of not having him... after a few months of that, I started falling out of love with him and eventually, I got to a point where I kind of disliked him. Now, he still tries to hangout and talk, but I dont want to anymore. I want him to leave me alone and I'm angry that he hurt me so badly and I'm angry at myself for being so pathetic and lowering my standards to keep him around. I'm completely uninterested in sex all together and I just want to be alone now. I don't want a partner. I feel like its weird though...shouldn't I want to find a partner and be loved? Shouldn't I want sex? Am I just super broken? Or is this a good thing?