Now when the Philistines heard that David had been anointed as king over all Israel, they all went out looking for him. But David heard about it and went out against them.