This is probably the best way to read it: Do not presume to correct another person while remaining blind to your own faults. Examine and correct yourself first; only then are you in a position to help your brother with his.
It literally is meant as a beam, a bit of exaggeration for emphasis.
So we are meant to assess and help others but first must correct our own selves.