It is by means of my vices that I understand yours.
Ralph Waldo Emerson (1803-1882) American essayist, lecturer, poet
Journal (1844, Spring-Summer)
(Source)
He recorded this phrase multiple times, including in his lecture, "The Anglo-American" (7 Dec 1852), and Notebook S Salvage.