has anyone had this problem?

has anyone dated someone for so long and did everything with that person that no matter how bad u know u should leave because of how poorly ur getting treated u just can't cuz you don't want anybody else to have sex with them or have them like you did ?