I told him “if you wanted to make it work, you would’ve”. Now he won’t talk to me. Was I wrong?

long story short, he wasn’t putting much effort into our “relationship”. It was really a situationship. I was telling him how I was feeling and he didn’t really do much about it. He honestly got worse so I just left him. He seen me a month later at a party and wanted to talk, but I was intoxicated so I don’t remember much about it. He was telling me we just didn’t work out and stuff like that. I didn’t get why he had to tell me that. I just remembered I texted him when he left saying that, if he wanted to make it work he could’ve. I said that bc I kept giving him chances and putting a lot of effort in and he was doing the bare minimum. The next day I apologized and tried to talk to him but he refuses to talk to me. I kept trying but I gave up. I don’t know if It was something I did or said or was it the text. I just wanted to talk to him sober bc he tried to talk to me about it while I was drunk. He said he doesn’t feel comfortable. I don’t know if what I did was wrong

I told him “if you wanted to make it work, you would’ve”. Now he won’t talk to me. Was I wrong?
Post Opinion