2 Samuel 5:19

19 David asked the Lord, "Shall I attack the Philistines? Will you give me the victory?" "Yes, attack!" the Lord answered. "I will give you the victory!"

2 Samuel 5:19 Meaning and Commentary

2 Samuel 5:19

And David inquired of the Lord
By Abiathar, and the Urim and Thummim, in the ephod he had on:

saying, shall I go up to the Philistines?
who by this time were gone from the valley to an higher place, to Mount Perazim, as in ( Isaiah 28:21 ) ;

wilt thou deliver them into my hand?
here two questions are put together, and an answer returned to both, contrary to a notion of the Jews, (See Gill on 1 Samuel 23:11);

and the Lord said to David, go up, for I will doubtless deliver the
Philistines into thine hand;
by which oracle he had both the mind of God that he should go up, and was assured of victory.

2 Samuel 5:19 In-Context

17 The Philistines were told that David had been made king of Israel, so their army set out to capture him. When David heard of it, he went down to a fortified place.
18 The Philistines arrived at Rephaim Valley and occupied it.
19 David asked the Lord, "Shall I attack the Philistines? Will you give me the victory?" "Yes, attack!" the Lord answered. "I will give you the victory!"
20 So David went to Baal Perazim and there he defeated the Philistines. He said, "The Lord has broken through my enemies like a flood." And so that place is called Baal Perazim.
21 When the Philistines fled, they left their idols behind, and David and his men carried them away.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.