David went there to Mizpeh of Moab: and he said to the king of Moab, Please let my father and my mother come forth, [and be] with you, until I know what God will do for me.
"The prophet Gad"  (1 Samuel 22:5).  This is the first mention of this prophet in the Bible; and the chronology of his joining David's company is not known.  It is supposed that Samuel may have commanded him to attach to the company of David.  In fact, the whole prophetic community of Israel automatically became allies of David following the tragic slaughter of the priests by Saul.  "He became the king's seer after David was king  (2 Samuel 24:11); he rebuked David for the sin of numbering Israel; and after David's death, he wrote a history of that monarch's reign  (1 Chronicles 29:29).  He also seems to have been concerned with arranging the temple services  (2 Chronicles 29:25)."[5]