People who live in glass houses should not throw stones.

Meaning: Don’t criticize other people if you’re not perfect yourself.