Pema Chödrön said this quote

Two kinds of selfish people: the unwise and the wise. Unwise selfish people think only of themselves, and the result is confusion and pain. Wise selfish people know that the best thing they can do for themselves is to be there for others. As a result, they experience joy.