What philosopher said that we learn about god when we learn about ourselves?

George Fox could have said it, but I don't know if it is attributed to him.

http://emes.quaker.eu.org/documents/files/meeting-the-spirit.html