Here, I. David, in distress, flies in the tabernacle of God, now pitched at Nob, supposed to be a city in the tribe of Benjamin. Since Shiloh was forsaken, the tabernacle was often removed, though the ark still remained at Kirjath-jearim. Hither David came in his flight from Saul's fury (v. 1), and applied to Ahimelech the priest. Samuel the prophet could not protect him, Jonathan the prince could not. He therefore has recourse next to Ahimelech the priest. He foresees he must now be an exile, and therefore comes to the tabernacle, 1. To take an affecting leave of it, for he knows not when he shall see it again, and nothing will be more afflictive to him in his banishment than his distance from the house of God, and his restraint from public ordinances, as appears by many of his psalms. He had given an affectionate farewell to his friend Jonathan, and cannot go till he has given the like to the tabernacle. 2. To enquire of the Lord there, and to beg direction from him in the way both of duty and safety, his case being difficult and dangerous. That this was his business appears ch. xxii. 10, where it is said that Ahimelech enquired of the Lord for him, as he had done formerly, v. 15. It is a great comfort to us in a day of trouble that we have a God to go to, to whom we may open our case, and from whom we may ask and expect direction.