The idea that one's self-image is shaped by the ways others view them is called: social comparison
Other than basic need such as food, clothes and shelter, most human have an uncontrollable desire to be accepted by others.
This desire make most people constantly seek our peers' validation for every aspect of our lives.
This is the basic argument of how one's self-image is shaped by the ways others view them