Since many people are learning about effective altruism, it's worth learning about Mozi, the ancient Chinese philosopher who was surprisingly close to being a proto-effective-altruist (particularly the global-health-focused variety, not the AI-risk-focused variety).

He valued the twin goals of (i) universal love, loving everyone and not just yourself and people similar or close to you, and (ii) being efficient about how you use your limited resources to most effectively help people.

https://ctext.org/mozi