The phrase
"glass house" refers to a situation where someone criticizes or judges others, even though they have flaws or secrets of their own that could be exposed. It basically means that if you live in a
glass house, you should be careful not to throw stones at others.
Full definition