In addition to the above:
This is not uncommon for people who deeply invest in others, but may neglect their own needs in the process. Love in this case is often seen as something that requires self-sacrifice, but true love should enhance your life, not diminish it.
One key change for you can be to look upon love as a shared experience between two complement individuals, where both people continue to maintain their own identities, but work in unison to uplift each other. You should not and do not have to lose yourself in order to love someone else.
Setting clear boundaries doesn't mean you love anyone less, rather, it means you love and respect yourself while still caring for the other person. Establishing personal boundaries can allow anyone to maintain their own hobbies, passions, and time alone, which is crucial in many respects.
When we look for emotional fulfillment primarily in a partner, it can sometimes lead to dependency. It's important to cultivate an emotional well-being within yourself, so that you're not relying on someone else to “fill you up”, so to speak.
Self-validation is another example that is important to remind yourself of your strengths, achievements, and the qualities that make you as a being unique. By becoming more self-aware here, you can start to change how you interact with other people, and/or in future relationships.
The most important relationship is the one you have with your own self. When you're centered in your own self-love and respect, you won't be so easily swayed or diminished by the negative dynamics of any relationship, as your strength is solely internal.
In essence, it all bleeds down to balance. Relationships should be a source of joy and connection, not depletion. When you are able to recognize your own needs, setting boundaries, and nurturing yourself, you can have a much healthier and stronger dynamic with both yourself and your future partner(s).