D avid was then in the stronghold, and the garrison of the Philistines was in Bethlehem at that time.
David was in a strong-place, while the Philistine soldiers had their place in Bethlehem.