Matthew 12:10-12

10 And behold, a man was there with one withered hand. And they said to Him, Is it lawful or allowable to cure people on the Sabbath days? — that they might accuse Him.

11 But He said to them, What man is there among you, if he has only one sheep and it falls into a pit or ditch on the Sabbath, will not take hold of it and lift it out?

12 How much better and of more value is a man than a sheep! So it is lawful and allowable to do good on the Sabbath days.