In six of the approximately 33 miracles of Christ, His compassion is specifically mentioned as a factor. Besides this one, the miracles that speak of His compassion include the feeding of the 5,000 (Matthew 14:14), the feeding of the 4,000 (Matthew 15:32), the healing of the two blind men (Matthew 20:34), the healing of the leper (Mark 1:41), and the exorcism of the demons in Gadara (Mark 5:19). His compassion is present in every miracle He performed, but only in these six is it mentioned.
Jesus was the most compassionate of all mankind (Hebrews 4:15). Often when things do not go well for some people, they complain that Christ does not care. Yet, that complaint is unjustified: Scripture shows abundantly that He does care—a great deal more than we realize. It is not Christ who is uncaring, but humans. We lack compassion for God the Father, for His Son, and for one another.
When Jesus has compassion on the widow, saying, "Do not weep," He is not merely asking her to cheer up. Instead, it is a foreshadowing of His power. He will remove the cause of her tears and simultaneously give His disciples a preview of God wiping away all tears (Revelation 21:4).
Martin G. Collins
The Miracles of Jesus Christ: Raising a Widow's Son