Under extraordinary circumstances, the God of Israel gave the judgment over even the most sacred things into the hands of men. Whether God approved David’s deception and, in parallel, Ahimelech’s willingness to aid David without verifying the latter’s story is a different question.
The text does not answer this question for us.
Scripture: [[1 Samuel 21#^84feda]]
Outbound Jot: [[Grain most holy]]
#jot