The pot calling the kettle black
Many say this idiom dates back to a 17th Century translation of the Spanish classic 'Don Quijote' by Cervantes.
It's used when you respond to someone critising you for something, when the other person has the very same fault too.
Use this expression wisely and with care.