When the Philistines heard that David was anointed king over all Israel, all the Philistines went up to seek David: and David heard of it, and went out against them.
An account of two victories over the Philistines is inserted (out of chronological order), probably to impress upon the reader how David’s fame was spreading (14:1-17; see notes on 2 Samuel 5:11-25).