Jesus gave the example of David who out of need ate the bread of the presence normally reserved for the priests.