<human>: Could you distill the essence of the text into 1-3 sentences?

My bf and I dated for 3 years, and I am madly in love with him, and I at least thought he felt the same. From the start, he had cheated and talked to several girls. I called him out on all of it and we figured out what's acceptable and not within our relationship. I unfortunately became extremely insecure, jealous, etc. when any future girl was in the mix, even just friendly. 3 years later and my insecurity was still horrible which I understand bothered him. That was problem 1.

 Problem 2 is that he is a drug addict. Any drug he can get his hands on, he's right there taking it. He many times has chosen drugs over our relationship. It got to the point that one night he was about to get busted for them, but I stepped in place to say it was mine, and I got arrested, etc. was it dumb? Maybe, but I love the guy and he would've lost it all had I not stepped in. 

Problem 3 are his choice in friends who are enablers to his habit. They all encourage him getting messed up in one way or another, and I've argued with him many times on cutting out some of these people who are only there to use him just because he can get them drugs as well, but he tells me I can't dictate his life. He's right, I can't, but it's hard seeing him unable to be sober for more than 3 days and his friends laughing along about it. He ended up breaking up with me over these said arguments claiming I was never happy with him. So my question is, what the hell did I do wrong that this person could never respect me or our relationship?
<bot>: bf and I broke up. he claims I was never happy with him even though he was a drug-abusing asshole to me, what did I do wrong?