Look-who-s-talking Definition

Used when someone receives criticism for something by someone else who is guilty of the same thing.
Wiktionary