Thus was David well furnished with arms and victuals; but it fell out very unhappily that there was one of Saul's servants then attending before the Lord, Doeg by name, that proved a base traitor both to David and Ahimelech. He was by birth an Edomite (v. 7), and though proselyted to the Jewish religion, to get the preferment he now had under Saul, yet he retained the ancient and hereditary enmity of Edom to Israel. He was master of the herds, which perhaps was then a place of as much honour as master of the horse is now. Some occasion or other he had at this time to wait on the priest, either to be purified from some pollution or to pay some vow; but, whatever his business was, it is said, he was detained before the Lord. He must attend and could not help it, but he was sick of the service, snuffed at it, and said, What a weariness is it! Mal. i. 13. He would rather have been any where else than before the Lord, and therefore, instead of minding the business he came about, was plotting to do David a mischief and to be revenged on Ahimelech for detaining him. God's sanctuary could never secure such wolves in sheep's clothing. See Gal. ii. 4.