If you put your daughter in your place and think of how you would advise her what does your heart tell you? How you want her to fare in this world is what you are allowed to want for yourself. This might help wipe away any confusion you might be experiencing.
It’s okay to keep loving someone even though you figure out they aren’t quite the right person for you. And in some instances it’s okay to keep a relationship with someone who doesn’t put you first, however, I think in that circumstance you have to have really clean boundaries and you have to step up and put yourself first. I’ve never done this with a romantic relationship but certainly have with friends. It feels pretty good to hold your finger up to a selfish person and let them know — HEY! I won’t let you treat me that way. Period. Otherwise, we’re good.