Baruch Spinoza said this quote

The good which every man, who follows after virtue, desires for himself he will also desire for other men...