It happened one day when he was hunting, Satan, in the guise of a deer, enticed him further and further, into the very territory of the Philistines, where he was recognized by Ishbi the giant, the brother of Goliath, his adversary. Desirous of avenging his brother, he seized David, and cast him into a winepress, where the king would have suffered a torturous end, if by a miracle the earth beneath him had not begun to sink, and so saved him from instantaneous death. His plight, however, remained desperate, and it required a second miracle to rescue him.
David and Goliath of Ishbi
Legends of the Jews 4:65