the answer to this question is Projection
One example of a projection is when we're working on a group project and it failed. Often times in this situation, each member of the group will start to point fingers and say something like 'this project is failed because you're too lazy'. While the truth is, the accuser is actually the one that's responsible but his/her ego prevent them from admitting the truth.