Anything done for another is done for oneself.
"Maxim. Sexti. Corp. Jur", Book V., as quoted in Hoyt's New Cyclopedia Of Practical Quotations, p. 184-87, 1922.

Anything done for another is done for oneself.