Is it wrong that I'm not helping my friend anymore if she doesn't breakup with her boyfriend?
Why do you want your friend to break up with her boyfriend?
She has a lot of problems and I'm worried that they'll never get better if she doesn't leave him.
Helping a friend should not come with expectations from them. You should not make your friend choose between you and their partner. Instead, you should only consider helping your friend if you genuinely want to do so, with no strings attached.
Well, I need to be there for my friend right?
You should be there for your friend but you don't need to. It's important that you show your friend respect by not expecting her to choose between you and her partner.