David was living in that stronghold at the time, while a Philistine garrison was then at Bethlehem. 