The pot calling the kettle black

The saying is used to call out a person who criticizes someone for an issue that they themselves are guilty of as well.

16870cookie-checkThe pot calling the kettle black