The prophet Gad told David, “Don’t go back to the cave. Go to Judah.” David did what he told him. He went to the forest of Hereth.