Trying to be a good friend

I feel like my friend is wasting my time & ive told her I’m all out of advice because she doesn’t want to listen. She’s been in a unhealthy relationship for almost 2 yrs. it’s always the same old shit! How many different ways do I have to say if youre not happy then leave! How much disrespect can someone take or how many signs do U need to see this person doesn’t care about u. I try to be a good friend & be there but it’s draining. & the part that pisses me off is she really only likes to talk whenever they’re going through shit but when they’re on good terms she doesn’t communicate with me, she’s too busy posting pics of them acting like they’re the perfect couple smh I just want her to get a back bone & stop accepting what is being given to her