A supremely beautiful question and loving thought, I must say. Yet it is also a spiritual question, and requires a spiritual answer as such. What is Spirituality?
"The essence of Religion is to fear God and obey God, The quintessence of Spirituality is to know God and become another God." - Sri Chinmoy. (A 20th and 21st Century Visionary and Seer)
Put in an easier way, perhaps, Spirituality is the quest for our true nature, which is Eternal Bliss. Indeed it is in the quest for our Spirituality, that we will cultivate a generous spirit, and show empathy to others. I cannot offer you, what I do not feel within, and vice versa.
Put in a different way, character is the sum total of our personality, and personality, is the sum total of who we are. No one can jump faster than Grace. So how do we cultivate a generous spirit?
Love, yes, but of ourselves we cannot do anything. All actions rely on inner motive, which basically feeds of our receptivity to a Higher Light or power. The greater the receptivity, the greater the goodness, as we are tapping into a Higher Source. We do this through prayer, both verbal and silent, with a recognition that we are merely instruments in the hand of Something Higher, and a reliance on the Divine Will.
Add to this, service to mankind, and this will widen the Heart. Here it is worthwhile mentioning that all we do, at least in the initial stages, is for ourselves. Only God can help. Yet as we develop, we will inevitably take others with us, as they will see or feel our goodness, and will be inspired to follow suit.
History is full of beacons whom we try to emulate, whether they be a Jesus or Krishna or Mandela, depends on our own nature or character, or level of inner growth. So how do we cultivate kindness and empathy?
1. Faith in Something Higher, and a reliance on Divine Grace.
2. Being receptive to this Grace. Crucially important.
3. Service to others. This expands the Heart, causes inner growth initially and then spreads. The very nature of kindness is to spread.
4. Meditation. believe that life, like a river, flows from a Source. All things rely on a Source or Supply.
As our Hearts expand and we are filled with Light, so too we will inevitably spread this Light to others. It is a very slow process. Some great Teachers came a long time ago, and we are still struggling. Finally, never forget that the Supreme Being is always in charge, and will act according to Its plans and Consciousness. All else follows. Much peace.