This sentence describes that as long as a person is good enough and perfect enough, there is no need to worry that no one likes it.
People's fate is ultimately determined by self-expectation. Self-expectation is self-confidence, which is what a person thinks he should be. When you are sure of what kind of person you should be and what kind of image you should have, you will have a feeling of returning to your original position and naturally make actions and changes consistent with your inner identity.