The pot calls the kettle black. meaning
The pot calls the kettle black.
said for :
A person who is guilty for something but he accuses somebody else of that which he is guilty of. Or For a person with a flaw who accuses someone else for that flaw.