We shouldn't complain about others if we are as bad as they are.
people who live in glass houses shouldn't throw stones
One who is open to criticism should not criticize others, as in It's stupid of Mike to mention his opponent's accepting donations from lobbyistspeople who live in glass houses! This proverb is so well known that it is often shortened. [Late 1300s] Also see pot calling the kettle black.