Why am I nice to people who are mean to me?

I don’t know why, but I have always kept people around me even if they betray me or are downright mean to me. I can’t bring myself to stand up for myself out of fear of being horrible as well. Why am I like this? Is it because of low self esteem or something else?
Why am I nice to people who are mean to me?
Post Opinion