Negatively influencing your self-esteem is detrimental for mental health, social and physiological well-being.
Avoid the below:
Meaning-less sex can put you in serious self-doubts. You start asking questions like "Am I not worthy of commitment? Am I good enough for bed but not good enough of other aspects of sharing and companionship?" Then from a sex-partner, you become the chaser, compromising on your self-esteem again and again. Ask yourself, is it worth starting a chapter? It will be difficult to come out of it, but surely not impossible.