We don't, we attract what we think or believe we are. If we believe we're not good, or good enough, not worthy, or worthy enough, not deserving, not lovable, not acceptable, that's what shows up in our lives. Not because it's true but because we believe it is, which is an entirely different matter. Look at Bruce Lipton's book The Biology of Belief for example.
When a child grows up believing that they're not lovable, sadly they'll live that so-called truth out by not respecting themselves and allowing others to disrespect them in many different ways. But it doesn't have to be that way, we can examine and question our beliefs and dissolve the beliefs that don't serve us with tools such as EFT.