10And he was teaching in one of the synagogues on the sabbath.
11And, behold, there was a woman which had a spirit of infirmity eighteen years, and was bowed together, and could in no wise lift up herself.
12And when Jesus saw her, he called her to him, and said unto her, Woman, thou art loosed from thine infirmity.
13And he laid his hands on her: and immediately she was made straight, and glorified God.
14And the ruler of the synagogue answered with indignation, because that Jesus had healed on the sabbath day, and said unto the people, There are six days in which men ought to work: in them therefore come and be healed, and not on the sabbath day.
15The Lord then answered him, and said, Thou hypocrite, doth not each one of you on the sabbath loose his ox or his ass from the stall, and lead him away to watering?
16And ought not this woman, being a daughter of Abraham, whom Satan hath bound, lo, these eighteen years, be loosed from this bond on the sabbath day? (Luke 13:10-16, King James Version)
5And answered them, saying, Which of you shall have an ass or an ox fallen into a pit, and will not straightway pull him out on the sabbath day? (Luke 14:5, King James Version)
These two passages are similar. I have quoted the whole story from Luke 13 to give the idea of both. There is much that could be said, but what I noticed were the animals. The ox was a clean animal; that is, it was acceptable for sacrifice. The donkey ("ass") was unclean; it was not acceptable for sacrifice. But they were both useful as working animals, and both needed regular care.
Jesus is making a point, or rather several points, in these healings and in His use of oxen and donkeys as examples. He shows that God will care for the Jew (ox/clean) and Gentile (donkey/unclean). He will set them free (loose them from their stalls/pull them from the pit). He will give them the Holy Spirit (water).
God will do this through His Son, Jesus, to all who believe.