I think I've come across the Japanese version of this teaching in the Bible as a saying (proverb?) but I'm having a hard time recalling and searching it.
The key takeaway in the parable is:
One can see small object [mote] in another's eye but is unable to see the large beam of wood in one's own.
which basically points a finger at the hypocrisy of noticing other people's small flaws (in the metaphor, the mote) while blatantly disregarding one's larger shortcomings (in the metaphor, the beam), and how this is bad.
The Japanese Wikipedia entry on this parable, ちりと梁, does not mention any Japanese expression for this idea, or I failed to see it.
Is there any Japanese saying, proverb or idiom relating to this?