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.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.