2 Samuel 5:17
Verse
Context
Sermons

Summary
Commentary
- Adam Clarke
- Keil-Delitzsch
- Jamieson-Fausset-Brown
- John Gill
- Matthew Henry
- Tyndale
Adam Clarke Bible Commentary
The Philistines came up to seek David - Ever since the defeat of the Israelites and the fall of Saul and his sons, the Philistines seem to have been in undisturbed possession of the principal places in the land of Israel; now, finding that David was chosen king by the whole nation, they thought best to attack him before his army got too numerous, and the affairs of the kingdom were properly settled.
Carl Friedrich Keil and Franz Delitzsch Old Testament Commentary
David gains two Victories over the Philistines (compare Ch1 14:8-17). - Both these victories belong in all probability to the interval between the anointing of David at Hebron over all Israel and the conquest of the citadel of Zion. This is very evident, so far as the first is concerned, from the words, "When the Philistines heard that they had anointed David king over Israel" (Sa2 5:17), not when David had conquered the citadel of Zion. Moreover, when the Philistines approached, David "went down to the hold," or mountain fortress, by which we cannot possibly understand the citadel upon Zion, on account of the expression "went down." If David had been living upon Zion at the time, he would hardly have left this fortification when the Philistines encamped in the valley of Rephaim on the west of Jerusalem, but would rather have attacked and routed the enemy from the citadel itself. The second victory followed very soon after the first, and must therefore be assigned to the same period. The Philistines evidently resolved, as soon as the tidings reached them of the union of all the tribes under the sovereignty of David, that they would at once resist the growing power of Israel, and smite David before he had consolidated his government. Sa2 5:17-18 "The Philistines went up to seek David," i.e., to seek him out and smite him. The expression לבקּשׁ presupposes that David had not yet taken up his abode upon Zion. He had probably already left Hebron to make preparations for his attack upon the Jebusites. When he heard of the approach of the Philistines, he went down into the mountain fortress. "The hold" cannot be the citadel of Zion (as in Sa2 5:7 and Sa2 5:9), because this was so high that they had to go up to it on every side; and it is impossible to sustain the opinion advanced by Bertheau, that the verb ירד (to go down) is used for falling back into a fortification. המּצוּדה (the hold), with the definite article, is probably the mountain stronghold in the desert of Judah, into which David withdrew for a long time to defend himself from Saul (vid., Sa2 23:14 and Ch1 12:8). In Sa2 5:18 the position of the Philistines is more minutely defined. The verse contains a circumstantial clause: "The Philistines had come and spread themselves out in the valley of Rephaim," a valley on the west of Jerusalem, and only separated from the valley of Ben-hinnom by a narrow ridge of land (see at Jos 15:8). Instead of ינּטשׁוּ the Chronicles have יפשׁטוּ, they had invaded, which is perfectly equivalent so far as the sense is concerned. Sa2 5:19-20 David inquired of the Lord by the Urim whether he should go out against the foe, and whether God would give them into his hand; (Note: Through the express statement that David inquired of Jehovah (viz., by the Urim) in both these conflicts with the Philistines (Sa2 5:19 and Sa2 5:23), Diestel's assertion, that after the death of Saul we do not read any more about the use of the holy lot, is completely overthrown, as well as the conclusion which he draws from it, namely, that "David probably employed it for the purpose of giving a certain definiteness to his command over his followers, over whom he had naturally but little authority (Sa1 22:2?), rather than because he looked upon it himself with any peculiar reverence.") and when he had received an answer in the affirmative to both these questions, he went to Baal-perazim (lit. into Baal-perazim), and smote them there, and said (Sa2 5:20), "Jehovah hath broken mine enemies before me like a water-breach," i.e., has smitten them before me, and broken their power as a flood breaks through and carries away whatever opposes it. From these words of David, the place where the battle was fought received the name of Baal-perazim, i.e., "possessor of breaches" (equivalent to Bruch-hausen or Brechendorf, Breach-ham or Break-thorpe). The only other passage in which the place is mentioned is Isa 28:21, where this event is alluded to, but it cannot have been far from the valley of Rephaim. Sa2 5:21 The Philistines left their idols behind them there. They had probably brought them to the war, as the Israelites once did their ark, as an auxiliary force. "And David took them away." The Chronicles have "their gods" instead of "their idols," and "they were burned with fire" instead of ישּׂאם, "he took them away," (Note: This is the marginal reading in the English version, though the text has "he burned them." - Tr.) took them as booty. The reading in the Chronicles gives the true explanation of the fact, as David would certainly dispose of the idols in the manner prescribed in the law (Deu 7:5, Deu 7:25). The same reading was also most probably to be found in the sources employed by our author, who omitted it merely as being self-evident. In this way David fully avenged the disgrace brought upon Israel by the Philistines, when they carried away the ark in the time of Eli. Sa2 5:22-25 Although thoroughly beaten, the Philistines soon appeared again to repair the defeat which they had suffered. As David had not followed up the victory, possibly because he was not sufficiently prepared, the Philistines assembled again in the valley of Rephaim. Sa2 5:23 David inquired once more of the Lord what he was to do, and received this answer: "Thou shalt not go up (i.e., advance to meet the foe, and attack them in front); turn round behind them, and come upon them (attack them) opposite to the Baca-shrubs." בּכאים, a word which only occurs here and in the parallel passage in Ch1 14:14, is rendered ἀπίους, pear-trees, by the lxx, and mulberry-trees by the Rabbins. But these are both of them uncertain conjectures. Baca, according to Abulfadl, is the name given in Arabic to a shrub which grows at Mecca and resembles the balsam, except that it has longer leaves and larger and rounder fruit, and from which, if a leaf be broken off, there flows a white pungent sap, like a white tear, which is all probability gave rise to the name בּכא = בּכה, to weep (vid., Celsii, Hierob. i. pp. 338ff., and Gesenius, Thes. p. 205). Sa2 5:24 "And when thou hearest the rush of a going in the tops of the baca-shrubs, then bestir thyself," or hasten; "for Jehovah has gone out before thee, to smite the army of the Philistines." "The sound of a going," i.e., of the advance of an army, was a significant sign of the approach of an army of God, which would smite the enemies of Jehovah and of His servant David; like the visions of Jacob (Gen 32:2-3) and Elisha (Kg2 6:17). "Then thou shalt bestir thyself," lit. be sharp, i.e., active, quick: this is paraphrased in the Chronicles by "then thou shalt go out to battle." Sa2 5:25 David did this, and smote the Philistines from Geba to the neighbourhood of Gezer. In the Chronicles we find "from Gibeon" instead of from Geba. The former is unquestionably the true reading, and Geba an error of the pen: for Geba, the present Jeba, was to the north of Jerusalem, and on the east of Ramah (see at Jos 18:24); so that it is quite unsuitable here. But that is not the case with Gibeon, the present el Jib, on the north-west of Jerusalem (see at Jos 9:3); for this was on the way to Gezer, which was four Roman miles to the north of Amws, and is probably to be sought for on the site of the present el Kubab (see at Jos 10:33). (Note: There is no force in the objection brought by Bertheau against this view, viz., that "it is a priori improbable that the Philistines who were fighting against David and his forces, whose base of operations was Jerusalem, should have taken possession of the whole line from Gibeon to Gezer," as the improbability is by no means apparent, and has not been pointed out by Bertheau, whilst the assumption that Jerusalem was David's base of operations has no foundation whatever. Moreover, Bertheau's opinion, that Geba was the same as Gibeah in the tribe of Judah (Jos 15:57), is decidedly erroneous: for this Gibeah is not to be identified with the present village of Jeba on the south side of the Wady Musurr, half-way between Shocoh and Jerusalem, but was situated towards the desert of Judah (see at Jos 15:57); and besides, it is impossible to see how the Philistines, who had invaded the plain of Rephaim, could have been beaten from this Gibeah as far as to Gezer.)
Jamieson-Fausset-Brown Bible Commentary
HE SMITES THE PHILISTINES. (Sa2 5:17-25) when the Philistines heard that they had anointed David king over Israel--During the civil war between the house of Saul and David, those restless neighbors had remained quiet spectators of the contest. But now, jealous of David, they resolved to attack him before his government was fully established.
John Gill Bible Commentary
The Philistines also came and spread themselves in the valley of Rephaim. Or "of the giants", as Jos 15:8; which lay to the west of Jerusalem; of which; see Gill on Jos 15:8; the Philistines spreading themselves in it, shows that they were very numerous. ; the Philistines spreading themselves in it, shows that they were very numerous. 2 Samuel 5:19 sa2 5:19 sa2 5:19 sa2 5:19And 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 Isa 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 Sa1 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.
Matthew Henry Bible Commentary
The particular service for which David was raised up was to save Israel out of the hand of the Philistines, Sa2 3:18. This therefore divine Providence, in the first place, gives him an opportunity of accomplishing. Two great victories obtained over the Philistines we have here an account of, by which David not only balanced the disgrace and retrieved the loss Israel had sustained in the battle wherein Saul was slain, but went far towards the total subduing of those vexatious neighbours, the last remains of the devoted nations. I. In both these actions the Philistines were the aggressors, stirred first towards their own destruction, and pulled it on their own heads. 1. In the former they came up to seek David (Sa2 5:17), because they heard that he was anointed king over Israel. He that under Saul had slain his ten thousands, what would he do when he himself came to be king! They therefore thought it was time to look about them, and try to crush his government in its infancy, before it was well settled. Their success against Saul, some years ago, perhaps encouraged them to make this attack upon David; but they considered not that David had that presence of God with him which Saul had forfeited and lost. The kingdom of the Messiah, as soon as ever it was set up in the world, was thus vigorously attacked by the powers of darkness, who, with the combined force both of Jews and Gentiles, made head against it. The heathen raged, and the kings of the earth set themselves to oppose it; but all in vain, Psa 2:1, etc. The destruction will turn, as this did, upon Satan's own kingdom. They took counsel together, but were broken in pieces, Isa 8:9, Isa 8:10. 2. In the latter they came up yet again, hoping to recover what they had lost in the former engagement, and their hearts being hardened to their destruction, Sa2 5:22. 3. In both they spread themselves in the valley of Rephaim, which lay very near Jerusalem. That city they hoped to make themselves masters of before David had completed the fortifications of it. Jerusalem, from its infancy, has been aimed at, and struck at, with a particular enmity. Their spreading themselves intimates that they were very numerous and that they made a very formidable appearance. We read of the church's enemies going up on the breadth of the earth (Rev 20:9), but the further they spread themselves the fairer mark they are to God's arrows. II. In both, David, though forward enough to go forth against them (for as soon as he heard it he went down to the hold, to secure some important and advantageous post, Sa2 5:17), yet entered not upon action till he had enquired of the Lord by the breast-plate of judgment, Sa2 5:19, and again, Sa2 5:23. His enquiry was twofold: - 1. Concerning his duty: "Shall I go up? Shall I have a commission from heaven to engage them?" One would think he needed not doubt this; what was he made king for, but to fight the battles of the Lord and Israel? But a good man loves to see God going before him in every step he takes. "Shall I go up now?" It is to be done, but is it to be done at this time? In all thy ways acknowledge him. And besides, though the Philistines were public enemies, yet some of them had been his particular friends. Achish had been kind to him in his distress, and had protected him. "Now," says David, "ought not I, in remembrance of that, rather to make peace with them than to make war with them?" "No," says God, "they are Israel's enemies, and are doomed to destruction, and therefore scruple not, but go up." 2. Concerning his success. His conscience asked the former question, Shall I go up? His prudence asked this, Wilt thou deliver them into my hand? Hereby he owns his dependence on God for victory, that he could not conquer them unless God delivered them into his hand, and refers his cause to the good pleasure of God: Wilt thou do it? Yea, says God, I will doubtless do it. If God send us, he will bear us out and stand by us. The assurance God has given us of victory over our spiritual enemies, that he will tread Satan under our feet shortly, should animate us in our spiritual conflicts. We do not fight at uncertainty. David had now a great army at command and in good heart, yet he relied more on God's promise than his own force. III. In the former of these engagements David routed the army of the Philistines by dint of sword (Sa2 5:20): He smote them; and when he had done, 1. He gave his God the glory; he said, "The Lord has broken forth upon my enemies before me. I could not have done it if he had not done it before me; he opened the breach like the breach of waters in a dam, which when once opened grows wider and wider." The principal part of the work was God's doing; nay, he did all; what David did was not worth speaking of; and therefore, Not unto us, but unto the Lord, give glory. He hoped likewise that this breach, like that of waters, was as the opening of the sluice, to let in a final desolation upon them; and, to perpetuate the remembrance of it, he called the place Baal-perazim, the master of the breaches, because, God having broken in upon their forces, he soon had the mastery of them. Let posterity take notice of it to God's honour. 2. He put their gods to shame. They brought the images of their gods into the field as their protectors, in imitation of the Israelites bringing the ark into their camp; but, being put to flight, they could not stay to carry off their images, for they were a burden to the weary beasts (Isa 46:1), and therefore they left them to fall with the rest of their baggage into the hands of the conqueror. Their images failed them, and gave them no assistance, and therefore they left their images to shift for themselves. God can make men weary of those things that they have been most fond of, and compel them to desert what they dote upon, and cast even the idols of silver and gold to the moles and the bats, Isa 2:20, Isa 2:21. David and his men converted to their own use the rest of the plunder, but the images they burnt, as God had appointed (Deu 7:5): "You shall burn their graven images with fire, in token of your detestation of idolatry, and lest they should be a snare." Bishop Patrick well observes here that when the ark fell into the Philistines' hands it consumed them, but, when these images fell into the hands of Israel, they could not save themselves from being consumed. IV. In the latter of these engagements God gave David some sensible tokens of his presence with him, bade him not fall upon them directly, as he had done before, but fetch a compass behind them, Sa2 5:23. 1. God appoints him to draw back, as Israel stood still to see the salvation of the Lord. 2. He promised him to charge the enemy himself, by an invisible host of angels, Sa2 5:24. "Thou shalt hear the sound of a going, like the march of an army in the air, upon the tops of the mulberry trees." Angels tread light, and he that can walk upon the clouds can, when he pleases, walk on the tops of trees, or (as bishop Patrick understands it) at the head of the mulberry-trees, that is, of the wood, or hedge-row of those trees. "And, by that sign, thou shalt know that the Lord goes out before thee; though thou see him not, yet thou shalt hear him, and faith shall come and be confirmed by hearing. He goes forth to smite the host of the Philistines." When David had himself smitten them (Sa2 5:20), he ascribed it to God: The Lord has broken forth upon my enemies, to reward him for which thankful acknowledgment the next time God did it himself alone, without putting him to any toil or peril. Those that own God in what he has done for them will find him doing more. But observe, Though God promised to go before him and smite the Philistines, yet David, when he heard the sound of the going must bestir himself and be ready to pursue the victory. Note, God's grace must quicken our endeavours. If God work in us both to will and to do, it does not follow that we must sit still, as those that have nothing to do, but we must therefore, work out our own salvation with all possible care and diligence, Phi 2:12, Phi 2:13. The sound of the going was, (1.) A signal to David when to move; it is comfortable going out when God goes before us. And, (2.) Perhaps it was an alarm to the enemy, and put them into confusion. Hearing the march of an army against their front, they retreated with precipitation, and fell into David's army which lay behind them in their rear. Of those whom God fights against it is said (Lev 26:36), The sound of a shaken leaf shall chase them. (3.) The success of this is briefly set down, Sa2 5:25. David observed his orders, waited till God moved, and stirred them, but not till then. Thus he was trained up in a dependence on God and his providence. God performed his promise, went before him, and routed all the enemies' force, and David failed not to improve his advantages; he smote the Philistines, even to the borders of their own country. When the kingdom of the Messiah was to be set up, the apostles that were to beat down the devil's kingdom must not attempt any thing till they received the promise of the Spirit, who came with a sound from heaven as of a rushing mighty wind (Act 2:2), which was typified by this sound of the going on the tops of the mulberry trees; and, when they heard that, they must bestir themselves, and did so; they went forth conquering and to conquer.
Tyndale Open Study Notes
5:17-25 For the first time as king, David engaged the Philistines in battle. • David’s life has been portrayed thus far in 2 Samuel with a repeated pattern: He was crowned king in Hebron (2:4), won a battle (2:12-17), became stronger (3:1), and started a large family (3:2-5). Now he was crowned in Jerusalem (5:3), became stronger (5:10), expanded his family (5:13-14), and won a battle (5:17-25). This parallel structure draws attention to both of David’s coronations with signs of divine blessing and prosperity.
2 Samuel 5:17
Two Victories over the Philistines
16Elishama, Eliada, and Eliphelet.17When the Philistines heard that David had been anointed king over Israel, they all went in search of him; but David learned of this and went down to the stronghold.
- Scripture
- Sermons
- Commentary
- Adam Clarke
- Keil-Delitzsch
- Jamieson-Fausset-Brown
- John Gill
- Matthew Henry
- Tyndale
Adam Clarke Bible Commentary
The Philistines came up to seek David - Ever since the defeat of the Israelites and the fall of Saul and his sons, the Philistines seem to have been in undisturbed possession of the principal places in the land of Israel; now, finding that David was chosen king by the whole nation, they thought best to attack him before his army got too numerous, and the affairs of the kingdom were properly settled.
Carl Friedrich Keil and Franz Delitzsch Old Testament Commentary
David gains two Victories over the Philistines (compare Ch1 14:8-17). - Both these victories belong in all probability to the interval between the anointing of David at Hebron over all Israel and the conquest of the citadel of Zion. This is very evident, so far as the first is concerned, from the words, "When the Philistines heard that they had anointed David king over Israel" (Sa2 5:17), not when David had conquered the citadel of Zion. Moreover, when the Philistines approached, David "went down to the hold," or mountain fortress, by which we cannot possibly understand the citadel upon Zion, on account of the expression "went down." If David had been living upon Zion at the time, he would hardly have left this fortification when the Philistines encamped in the valley of Rephaim on the west of Jerusalem, but would rather have attacked and routed the enemy from the citadel itself. The second victory followed very soon after the first, and must therefore be assigned to the same period. The Philistines evidently resolved, as soon as the tidings reached them of the union of all the tribes under the sovereignty of David, that they would at once resist the growing power of Israel, and smite David before he had consolidated his government. Sa2 5:17-18 "The Philistines went up to seek David," i.e., to seek him out and smite him. The expression לבקּשׁ presupposes that David had not yet taken up his abode upon Zion. He had probably already left Hebron to make preparations for his attack upon the Jebusites. When he heard of the approach of the Philistines, he went down into the mountain fortress. "The hold" cannot be the citadel of Zion (as in Sa2 5:7 and Sa2 5:9), because this was so high that they had to go up to it on every side; and it is impossible to sustain the opinion advanced by Bertheau, that the verb ירד (to go down) is used for falling back into a fortification. המּצוּדה (the hold), with the definite article, is probably the mountain stronghold in the desert of Judah, into which David withdrew for a long time to defend himself from Saul (vid., Sa2 23:14 and Ch1 12:8). In Sa2 5:18 the position of the Philistines is more minutely defined. The verse contains a circumstantial clause: "The Philistines had come and spread themselves out in the valley of Rephaim," a valley on the west of Jerusalem, and only separated from the valley of Ben-hinnom by a narrow ridge of land (see at Jos 15:8). Instead of ינּטשׁוּ the Chronicles have יפשׁטוּ, they had invaded, which is perfectly equivalent so far as the sense is concerned. Sa2 5:19-20 David inquired of the Lord by the Urim whether he should go out against the foe, and whether God would give them into his hand; (Note: Through the express statement that David inquired of Jehovah (viz., by the Urim) in both these conflicts with the Philistines (Sa2 5:19 and Sa2 5:23), Diestel's assertion, that after the death of Saul we do not read any more about the use of the holy lot, is completely overthrown, as well as the conclusion which he draws from it, namely, that "David probably employed it for the purpose of giving a certain definiteness to his command over his followers, over whom he had naturally but little authority (Sa1 22:2?), rather than because he looked upon it himself with any peculiar reverence.") and when he had received an answer in the affirmative to both these questions, he went to Baal-perazim (lit. into Baal-perazim), and smote them there, and said (Sa2 5:20), "Jehovah hath broken mine enemies before me like a water-breach," i.e., has smitten them before me, and broken their power as a flood breaks through and carries away whatever opposes it. From these words of David, the place where the battle was fought received the name of Baal-perazim, i.e., "possessor of breaches" (equivalent to Bruch-hausen or Brechendorf, Breach-ham or Break-thorpe). The only other passage in which the place is mentioned is Isa 28:21, where this event is alluded to, but it cannot have been far from the valley of Rephaim. Sa2 5:21 The Philistines left their idols behind them there. They had probably brought them to the war, as the Israelites once did their ark, as an auxiliary force. "And David took them away." The Chronicles have "their gods" instead of "their idols," and "they were burned with fire" instead of ישּׂאם, "he took them away," (Note: This is the marginal reading in the English version, though the text has "he burned them." - Tr.) took them as booty. The reading in the Chronicles gives the true explanation of the fact, as David would certainly dispose of the idols in the manner prescribed in the law (Deu 7:5, Deu 7:25). The same reading was also most probably to be found in the sources employed by our author, who omitted it merely as being self-evident. In this way David fully avenged the disgrace brought upon Israel by the Philistines, when they carried away the ark in the time of Eli. Sa2 5:22-25 Although thoroughly beaten, the Philistines soon appeared again to repair the defeat which they had suffered. As David had not followed up the victory, possibly because he was not sufficiently prepared, the Philistines assembled again in the valley of Rephaim. Sa2 5:23 David inquired once more of the Lord what he was to do, and received this answer: "Thou shalt not go up (i.e., advance to meet the foe, and attack them in front); turn round behind them, and come upon them (attack them) opposite to the Baca-shrubs." בּכאים, a word which only occurs here and in the parallel passage in Ch1 14:14, is rendered ἀπίους, pear-trees, by the lxx, and mulberry-trees by the Rabbins. But these are both of them uncertain conjectures. Baca, according to Abulfadl, is the name given in Arabic to a shrub which grows at Mecca and resembles the balsam, except that it has longer leaves and larger and rounder fruit, and from which, if a leaf be broken off, there flows a white pungent sap, like a white tear, which is all probability gave rise to the name בּכא = בּכה, to weep (vid., Celsii, Hierob. i. pp. 338ff., and Gesenius, Thes. p. 205). Sa2 5:24 "And when thou hearest the rush of a going in the tops of the baca-shrubs, then bestir thyself," or hasten; "for Jehovah has gone out before thee, to smite the army of the Philistines." "The sound of a going," i.e., of the advance of an army, was a significant sign of the approach of an army of God, which would smite the enemies of Jehovah and of His servant David; like the visions of Jacob (Gen 32:2-3) and Elisha (Kg2 6:17). "Then thou shalt bestir thyself," lit. be sharp, i.e., active, quick: this is paraphrased in the Chronicles by "then thou shalt go out to battle." Sa2 5:25 David did this, and smote the Philistines from Geba to the neighbourhood of Gezer. In the Chronicles we find "from Gibeon" instead of from Geba. The former is unquestionably the true reading, and Geba an error of the pen: for Geba, the present Jeba, was to the north of Jerusalem, and on the east of Ramah (see at Jos 18:24); so that it is quite unsuitable here. But that is not the case with Gibeon, the present el Jib, on the north-west of Jerusalem (see at Jos 9:3); for this was on the way to Gezer, which was four Roman miles to the north of Amws, and is probably to be sought for on the site of the present el Kubab (see at Jos 10:33). (Note: There is no force in the objection brought by Bertheau against this view, viz., that "it is a priori improbable that the Philistines who were fighting against David and his forces, whose base of operations was Jerusalem, should have taken possession of the whole line from Gibeon to Gezer," as the improbability is by no means apparent, and has not been pointed out by Bertheau, whilst the assumption that Jerusalem was David's base of operations has no foundation whatever. Moreover, Bertheau's opinion, that Geba was the same as Gibeah in the tribe of Judah (Jos 15:57), is decidedly erroneous: for this Gibeah is not to be identified with the present village of Jeba on the south side of the Wady Musurr, half-way between Shocoh and Jerusalem, but was situated towards the desert of Judah (see at Jos 15:57); and besides, it is impossible to see how the Philistines, who had invaded the plain of Rephaim, could have been beaten from this Gibeah as far as to Gezer.)
Jamieson-Fausset-Brown Bible Commentary
HE SMITES THE PHILISTINES. (Sa2 5:17-25) when the Philistines heard that they had anointed David king over Israel--During the civil war between the house of Saul and David, those restless neighbors had remained quiet spectators of the contest. But now, jealous of David, they resolved to attack him before his government was fully established.
John Gill Bible Commentary
The Philistines also came and spread themselves in the valley of Rephaim. Or "of the giants", as Jos 15:8; which lay to the west of Jerusalem; of which; see Gill on Jos 15:8; the Philistines spreading themselves in it, shows that they were very numerous. ; the Philistines spreading themselves in it, shows that they were very numerous. 2 Samuel 5:19 sa2 5:19 sa2 5:19 sa2 5:19And 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 Isa 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 Sa1 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.
Matthew Henry Bible Commentary
The particular service for which David was raised up was to save Israel out of the hand of the Philistines, Sa2 3:18. This therefore divine Providence, in the first place, gives him an opportunity of accomplishing. Two great victories obtained over the Philistines we have here an account of, by which David not only balanced the disgrace and retrieved the loss Israel had sustained in the battle wherein Saul was slain, but went far towards the total subduing of those vexatious neighbours, the last remains of the devoted nations. I. In both these actions the Philistines were the aggressors, stirred first towards their own destruction, and pulled it on their own heads. 1. In the former they came up to seek David (Sa2 5:17), because they heard that he was anointed king over Israel. He that under Saul had slain his ten thousands, what would he do when he himself came to be king! They therefore thought it was time to look about them, and try to crush his government in its infancy, before it was well settled. Their success against Saul, some years ago, perhaps encouraged them to make this attack upon David; but they considered not that David had that presence of God with him which Saul had forfeited and lost. The kingdom of the Messiah, as soon as ever it was set up in the world, was thus vigorously attacked by the powers of darkness, who, with the combined force both of Jews and Gentiles, made head against it. The heathen raged, and the kings of the earth set themselves to oppose it; but all in vain, Psa 2:1, etc. The destruction will turn, as this did, upon Satan's own kingdom. They took counsel together, but were broken in pieces, Isa 8:9, Isa 8:10. 2. In the latter they came up yet again, hoping to recover what they had lost in the former engagement, and their hearts being hardened to their destruction, Sa2 5:22. 3. In both they spread themselves in the valley of Rephaim, which lay very near Jerusalem. That city they hoped to make themselves masters of before David had completed the fortifications of it. Jerusalem, from its infancy, has been aimed at, and struck at, with a particular enmity. Their spreading themselves intimates that they were very numerous and that they made a very formidable appearance. We read of the church's enemies going up on the breadth of the earth (Rev 20:9), but the further they spread themselves the fairer mark they are to God's arrows. II. In both, David, though forward enough to go forth against them (for as soon as he heard it he went down to the hold, to secure some important and advantageous post, Sa2 5:17), yet entered not upon action till he had enquired of the Lord by the breast-plate of judgment, Sa2 5:19, and again, Sa2 5:23. His enquiry was twofold: - 1. Concerning his duty: "Shall I go up? Shall I have a commission from heaven to engage them?" One would think he needed not doubt this; what was he made king for, but to fight the battles of the Lord and Israel? But a good man loves to see God going before him in every step he takes. "Shall I go up now?" It is to be done, but is it to be done at this time? In all thy ways acknowledge him. And besides, though the Philistines were public enemies, yet some of them had been his particular friends. Achish had been kind to him in his distress, and had protected him. "Now," says David, "ought not I, in remembrance of that, rather to make peace with them than to make war with them?" "No," says God, "they are Israel's enemies, and are doomed to destruction, and therefore scruple not, but go up." 2. Concerning his success. His conscience asked the former question, Shall I go up? His prudence asked this, Wilt thou deliver them into my hand? Hereby he owns his dependence on God for victory, that he could not conquer them unless God delivered them into his hand, and refers his cause to the good pleasure of God: Wilt thou do it? Yea, says God, I will doubtless do it. If God send us, he will bear us out and stand by us. The assurance God has given us of victory over our spiritual enemies, that he will tread Satan under our feet shortly, should animate us in our spiritual conflicts. We do not fight at uncertainty. David had now a great army at command and in good heart, yet he relied more on God's promise than his own force. III. In the former of these engagements David routed the army of the Philistines by dint of sword (Sa2 5:20): He smote them; and when he had done, 1. He gave his God the glory; he said, "The Lord has broken forth upon my enemies before me. I could not have done it if he had not done it before me; he opened the breach like the breach of waters in a dam, which when once opened grows wider and wider." The principal part of the work was God's doing; nay, he did all; what David did was not worth speaking of; and therefore, Not unto us, but unto the Lord, give glory. He hoped likewise that this breach, like that of waters, was as the opening of the sluice, to let in a final desolation upon them; and, to perpetuate the remembrance of it, he called the place Baal-perazim, the master of the breaches, because, God having broken in upon their forces, he soon had the mastery of them. Let posterity take notice of it to God's honour. 2. He put their gods to shame. They brought the images of their gods into the field as their protectors, in imitation of the Israelites bringing the ark into their camp; but, being put to flight, they could not stay to carry off their images, for they were a burden to the weary beasts (Isa 46:1), and therefore they left them to fall with the rest of their baggage into the hands of the conqueror. Their images failed them, and gave them no assistance, and therefore they left their images to shift for themselves. God can make men weary of those things that they have been most fond of, and compel them to desert what they dote upon, and cast even the idols of silver and gold to the moles and the bats, Isa 2:20, Isa 2:21. David and his men converted to their own use the rest of the plunder, but the images they burnt, as God had appointed (Deu 7:5): "You shall burn their graven images with fire, in token of your detestation of idolatry, and lest they should be a snare." Bishop Patrick well observes here that when the ark fell into the Philistines' hands it consumed them, but, when these images fell into the hands of Israel, they could not save themselves from being consumed. IV. In the latter of these engagements God gave David some sensible tokens of his presence with him, bade him not fall upon them directly, as he had done before, but fetch a compass behind them, Sa2 5:23. 1. God appoints him to draw back, as Israel stood still to see the salvation of the Lord. 2. He promised him to charge the enemy himself, by an invisible host of angels, Sa2 5:24. "Thou shalt hear the sound of a going, like the march of an army in the air, upon the tops of the mulberry trees." Angels tread light, and he that can walk upon the clouds can, when he pleases, walk on the tops of trees, or (as bishop Patrick understands it) at the head of the mulberry-trees, that is, of the wood, or hedge-row of those trees. "And, by that sign, thou shalt know that the Lord goes out before thee; though thou see him not, yet thou shalt hear him, and faith shall come and be confirmed by hearing. He goes forth to smite the host of the Philistines." When David had himself smitten them (Sa2 5:20), he ascribed it to God: The Lord has broken forth upon my enemies, to reward him for which thankful acknowledgment the next time God did it himself alone, without putting him to any toil or peril. Those that own God in what he has done for them will find him doing more. But observe, Though God promised to go before him and smite the Philistines, yet David, when he heard the sound of the going must bestir himself and be ready to pursue the victory. Note, God's grace must quicken our endeavours. If God work in us both to will and to do, it does not follow that we must sit still, as those that have nothing to do, but we must therefore, work out our own salvation with all possible care and diligence, Phi 2:12, Phi 2:13. The sound of the going was, (1.) A signal to David when to move; it is comfortable going out when God goes before us. And, (2.) Perhaps it was an alarm to the enemy, and put them into confusion. Hearing the march of an army against their front, they retreated with precipitation, and fell into David's army which lay behind them in their rear. Of those whom God fights against it is said (Lev 26:36), The sound of a shaken leaf shall chase them. (3.) The success of this is briefly set down, Sa2 5:25. David observed his orders, waited till God moved, and stirred them, but not till then. Thus he was trained up in a dependence on God and his providence. God performed his promise, went before him, and routed all the enemies' force, and David failed not to improve his advantages; he smote the Philistines, even to the borders of their own country. When the kingdom of the Messiah was to be set up, the apostles that were to beat down the devil's kingdom must not attempt any thing till they received the promise of the Spirit, who came with a sound from heaven as of a rushing mighty wind (Act 2:2), which was typified by this sound of the going on the tops of the mulberry trees; and, when they heard that, they must bestir themselves, and did so; they went forth conquering and to conquer.
Tyndale Open Study Notes
5:17-25 For the first time as king, David engaged the Philistines in battle. • David’s life has been portrayed thus far in 2 Samuel with a repeated pattern: He was crowned king in Hebron (2:4), won a battle (2:12-17), became stronger (3:1), and started a large family (3:2-5). Now he was crowned in Jerusalem (5:3), became stronger (5:10), expanded his family (5:13-14), and won a battle (5:17-25). This parallel structure draws attention to both of David’s coronations with signs of divine blessing and prosperity.