1 Samuel 22:4-6

4 He left them with the king of Moab; they stayed with him as long as David remained in the stronghold. [2]

5 But Gad the prophet said to David: "Do not remain in the stronghold! Leave! Go to the land of Judah." And so David left and went to the forest of Hereth. [AB]

6 Now Saul heard that David and his men had been located. At the time he was sitting in Gibeah under a tamarisk tree on the high place, holding his spear, while all his servants stood by him. [AC]