David defeats the Philistines

17 When the Philistines heard that David had been anointed king over Israel, they all marched up to find him, but David heard of it and went down to the fortress.

References for 2 Samuel 5:17