Why do some people pinpoint the faults of others when they have the same problem?

Hi,Many of us have disavowed pieces of ourselves that we are unable to recognize at least consciously and we project them on to our partners or family. If the person accepts the projections called introjection than we believe we are those things. Its like it