‏ 2 Samuel 5:19

19And David ainquired of the Lord, “Shall I go up against the Philistines? Will you give them into my hand?” And the Lord said to David, “Go up, for I will certainly give the Philistines into your hand.”
Copyright information for ESV