"Those who live in glass houses should not throw stones" is a proverb used in several countries, including England, Portugal, Spain and Germany. It means that one should not criticize others for having the same weakness as themselves.
Another less common but accurate meaning is: "One who isn't open to criticism should not criticize others."
References
Those who live in glass houses should not throw stones Wikipedia(Text) CC BY-SA