Mark 6:34

And Jesus, when he came out, saw much people, and was moved with compassion toward them, because they were as sheep not having a shepherd: and he began to teach them many things.

And Jesus, when he came out,.... Of the ship, and was got ashore,

saw much people; who came partly from the places where he came from, and partly from the cities and towns adjacent:

and was moved with compassion towards them; See Gill on "Matthew 14:14", the reason follows,

because they were as sheep, not having a shepherd. Christ observed, that they were hungering and thirsting after the word of righteousness, and had no faithful, spiritual pastors to feed them with knowledge and understanding; for the Scribes and Pharisees were blind guides, and shepherds that could not understand; so that the people were ready to perish for lack of knowledge, not having any spiritual comfort and refreshment under their ministry: hence they followed Christ, wherever he went, with great zeal and fervency, earnestly desiring the bread of life: this moved his compassion, so that though his view in coming to this place was retirement, and that his disciples might have some rest and refreshment, and might solace themselves in private conversation with him, and each other; yet postponing private advantage to public good, instead of reproving them for giving him this fresh trouble, kindly and tenderly received them:

and he began to teach them many things; relating to the kingdom of God, the Gospel dispensation, the doctrines and ordinances of it; things relating to their spiritual and eternal welfare, the comfort, and salvation of their immortal souls: and he dwelt long upon these subjects, because he found they were very ignorant, and needed instruction, and were very desirous of it; as well as healed all such of bodily diseases that stood in need thereof; of which Matthew only takes notice, Matthew 14:14; as Mark only of doctrine; but Luke mentions both doctrine and miracles of healing, Luke 9:11.