Selfishness is putting the wants of yourself over the needs of others.
Self respect is putting the needs of yourself over the wants of others.
One is disregarding others, one is taking care of yourself.
The difference between the two is the difference between being a friend and a doormat.
Taking care of yourself does not make you a bad person.
I repeat:
Taking care of yourself does not make you a bad person.