How he went into the house of God and took the consecrated bread? He ate it, and gave it to his men too. That's not permitted either. The consecrated bread is only for the priests.”
So the priest gave him the holy bread as they didn't have any other bread there except this “Bread of the Presence,” which had been removed from the presence of the Lord that day and replaced with fresh bread.