Holding the view that benefiting self and benefiting others are mutually exclusive is restrictive. Seen from a broader perspective, intelligently benefiting others also aids us. When we help others, we immediately witness others experiencing the good results of our actions. Our actions cause the environment in which we live to be more pleasant.
Similarly, wisely benefiting ourselves aids others. Maintaining good health and keeping ourselves well-balanced physically and mentally creates a better atmosphere for all those we encounter. It also gives us more energy to share with others and enables us to practice the Dharma more consistently for the benefit of all. Thus in the Pāli canon, the Buddha praises those who work for both their own welfare and the welfare of others. The two are mutually beneficial.