How to??

I’m trying to breakup w my boyfriend because he’s done so many bad things for him and I’ve forgiven but not forgotten the stuff he’s done

I feel to attached to him and I feel like I really need him but I hate that feeling I want to breakup w him so bad but for some reason I keep going back