1 Samuel 21:3-6

21:3 Now what do you have at your disposal? Give me five loaves of bread, or whatever can be found.”

21:4 The priest replied to David, “I don’t have any ordinary bread at my disposal. Only holy bread is available, and then only if your soldiers have abstained from sexual relations with women.” 21:5 David said to the priest, “Certainly women have been kept away from us, just as on previous occasions when I have set out. The soldiers’ equipment is holy, even on an ordinary journey. How much more so will they be holy today, along with their equipment!”

21:6 So the priest gave him holy bread, for there was no bread there other than the bread of the Presence. It had been removed from before the Lord in order to replace it with hot bread on the day it had been taken away.

Mark 2:25-26

2:25 He said to them, “Have you never read what David did when he was in need and he and his companions were hungry – 2:26 how he entered the house of God when Abiathar was high priest and ate the sacred bread, which is against the law for any but the priests to eat, and also gave it to his companions?”