Dōgen said this quote

A fool sees himself as another, but a wise man sees others as himself.