A dramatic clash between strict sanctuary laws and desperate human survival unfolds as a starving, destitute man arrives in a city where the only available food is sacred. The local priest is forced to make a critical decision, weighing the severity of different religious prohibitions to save a life. The reason no regular food could be found is that Nob was a city populated entirely by priests. Consequently, the only food on hand was sanctified, such as the standard priestly portion. For a non-priest to eat this specific sacred food is an incredibly severe offense, carrying a death penalty at the hands of God [רד״ק, מלבי״ם].
There is some discussion regarding exactly what type of holy bread was given to the starving man. Some suggest the priest gave him thanksgiving offerings or the standard priestly portion [רד״ק בשם אביו, רלב״ג]. However, the primary approach among commentators is that he was given the actual Showbread from the sanctuary. This was permitted because the man was in mortal danger from extreme hunger. When a life is at stake, the rule is to violate the lightest possible prohibition. Once the frankincense accompanying the Showbread had been burned, the specific restriction against misusing consecrated property was lifted. This made eating the Showbread a lighter offense than consuming the standard priestly portion [רד״ק, מלבי״ם, רלב״ג]. Even with this leniency, the men still had to be ritually pure, as impurity would have made eating any holy bread a far more serious transgression [מלבי״ם, רלב״ג].
The bread provided had just been removed from the sacred table [מצודת דוד, מצודת ציון]. This exchange of loaves traditionally occurred on the Sabbath or Saturday night [רלב״ג, ביאור שטיינזלץ]. If this encounter actually took place on a weekday, the food given must have been leftover pieces from modest priests who did not finish their meals, or it was the High Priest's personal portion [רד״ק]. As the old loaves were taken away, fresh, hot bread was immediately put in their place [ביאור שטיינזלץ, רד״ק].
There are different explanations for how this bread was kept warm. It may have been baked on Friday and kept in a closed oven or special gold molds that retained the heat until it was arranged on the Sabbath [מצודת דוד, רלב״ג, רד״ק]. Alternatively, the baking process might have overridden the Sabbath restrictions, meaning it was baked on the Sabbath itself [רד״ק]. Other commentators point to a great miracle, noting that the old bread remained just as hot on the day it was removed as it was when it was first set down a week prior [רש״י, רד״ק].
This dramatic encounter carries a heavy, underlying tragedy rooted in a simple lack of supplies. Had the fleeing man not left without provisions, or if his friend had simply provided him with two regular loaves of bread before his journey, the entire grim chain of events that eventually led to the massacre of the priests of Nob and the death of the king would have been completely prevented [רד״ק].