People who live in glass houses should not throw stones

You should not complain about other people if you yourself are not perfect.

“You should not criticize other people. Remember, people who live in glass houses should not throw stones.”