Dōgen said this quote

Do not be concerned with the faults of other persons. Do not see others' faults with a hateful mind. There is an old saying that if you stop seeing others' faults, then naturally seniors and venerated and juniors are revered. Do not imitate others' faults; just cultivate virtue. Buddha prohibited unwholesome actions, but did not tell us to hate those who practice unwholesome actions.