Low self esteem and my boyfriend is not helping. What to do?

Take action now. With friends like that . . . . You must be assertive and insist that he treat you with respect at all times. You must not allow him to treat you as a means to an end. If he cannot treat you with respect he's not the guy for you. Build self-esteem by (1) being a morally good and worthwhile person, and (2) learning as much as you can every day, piece by piece. Best wishes!