It is the Way of Heaven to show no favoritism. It is for ever on the side of the good man. For the Lord your God is God of gods and Lord of lords, the great, the mighty and the terrible God, who is not partial and takes no bribe. He executes justice for the fatherless and the widow, and loves the sojourner, giving him food and clothing. Judaism and Christianity.
Buddhist compassion is closer to the Western concept of agape love.
It is not desire seeking fulfillment, but rather the unconditional offering of love, like that of parents to their children. Based on his compassion, Buddha is called the Father of the world in the Lotus Sutra 3, pp. 144f. Bhagavad Gita 9.29 and comparable passages, pp. Matthew 5.43.48, p. 1000. 1 Samuel 2.4- 9, pp.