Jesus had pity on his people because they were like sheep without a shepherd. Jesus is still the Good Shepherd and can bring us together, especially when we pray.
Based on Mark 6:30–34:
The apostles gathered around Jesus, and told him all that they had done and taught. He said to them, ‘Come away to a deserted place all by yourselves and rest a while.’ For many were coming and going, and they had no leisure even to eat. And they went away in the boat to a deserted place by themselves. Now many saw them going and recognized them, and they hurried there on foot from all the towns and arrived ahead of them. As he went ashore, he saw a great crowd; and he had compassion for them, because they were like sheep without a shepherd; and he began to teach them many things.
(New Revised Standard Version Bible: Anglicized Edition, copyright © 1989, 1995 National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved worldwide. http://nrsvbibles.org)