17 When the Philistines heard that David had been anointed king of Israel, all of them came to attack David. But David heard about it and went to the fortress.