Why do I know my self worth and still settle?

Nia

Why do I know my worth and know I deserve better than my current boyfriend but I settle and still want to stay with him because of our history. I don’t want to open up to anyone new or have sex with anyone new. But I know I deserve better and I know if my dream man came along I would leave in a heartbeat. But I can’t seem to leave now. Any help or advice ladies?