In this instance, Jesus had compassion on the multitude NOT because they were diseased or possessed with unclean spirits BUT BECAUSE they continued with him for three days. In other portions of scripture Jesus had compassion because the peoples' needs drew him to them but here he already addressed the needs and is still compassionate because of their faithfulness. There is need driven compassion and faithfulness driven compassion.