24The Pharisees were saying to Him, "Look, (V)why are they doing what is not lawful on the Sabbath?"
25And He said to them, "Have you never read what David did when he was in need and he and his companions became hungry;
26how he entered the house of God in the time of (W)Abiathar the high priest, and ate the consecrated bread, which (X)is not lawful for anyone to eat except the priests, and he also gave it to those who were with him?"
27Jesus said to them, "(Y)The Sabbath was made for man, and (Z)not man for the Sabbath.
28"So the Son of Man is Lord even of the Sabbath."
Exodus 23
12"(A)Six days you are to do your work, but on the seventh day you shall cease from labor so that your ox and your donkey may rest, and the son of your female slave, as well as your stranger, may refresh themselves.
Thank you for posting those important scriptures.