Glass ceiling?
Like, don't accuse other people when you are committing the same or similar sin.
People who live in glass houses shouldn't throw stones.
The expression "glass ceiling" refers to a barrier to advancement, often by particular classes of individuals. This barrier is often invisible, denied, or simply not recognised by some people.