ESV: David was then in the stronghold, and the garrison of the Philistines was then at Bethlehem.
NIV: At that time David was in the stronghold, and the Philistine garrison was at Bethlehem.
NASB: David was then in the stronghold, while the garrison of the Philistines was then in Bethlehem.
CSB: At that time David was in the stronghold, and a Philistine garrison was at Bethlehem.
NLT: David was staying in the stronghold at the time, and a Philistine detachment had occupied the town of Bethlehem.
KJV: And David was then in the hold, and the Philistines' garrison was then at Bethlehem.
NKJV: David was then in the stronghold, and the garrison of the Philistines was then in Bethlehem.