Dealing with psychological obstacles to losing weight

I'm struggling with a few issues that have to do with me losing weight. First, I'm scared of male attention. I don't like anyone looking at me and if I get to my goal weight it would get me s lot of attention which might make me feel uncomfortable or even my boyfriend. Second, I don't know why but I feel like if I look good then it might make somebody else feel bad about themselves. Probably bc my mom was obese growing up and not happy and my sister and I struggled with poor body image. Has anyone else felt these things? How did you get through it? I know it's really stupid.