Never let words distroy your self-esteem. It is hard when you care about someone. Especially when you care about the person. Words don't have power to hurt you, unless that person means a lot to you.
But always remember that you are a good person. Hopefully, you will have a lot of good friends that will keep reminding you oof the fact that you are a wonderful and good person.