That's the pot calling the kettle black.



Meaning:
You shouldn't criticize other people's faults if you have those same faults. For example, if you are lazy you shouldn't complain when other people are lazy.