Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
Ziklag Burnt. ( b. c. 1055.)
Here we have, I. The descent which the Amalekites made upon Ziklag in David's absence, and the desolations they made there. They surprised the city when it was left unguarded, plundered it, burnt it, and carried all the women and children captives, v. 1, 2 . They intended, by this to revenge the like havoc that David had lately made of them and their country, ch. xxvii. 8 . He that had made so many enemies ought not to have left his own concerns so naked and defenceless. Those that make bold with others must expect that others will make as bold with them and provide accordingly. Now observe in this, 1. The cruelty of Saul's pity (as it proved) in sparing the Amalekites; if he had utterly destroyed them, as he ought to have done, these would not have been in being to do this mischief. 2. How David was corrected for being so forward to go with the Philistines against Israel. God showed him that he had better have staid at home and looked after his own business. When we go abroad in the way of our duty we may comfortably hope that God will take care of our families in our absence, but not otherwise. 3. How wonderfully God inclined the hearts of these Amalekites to carry the women and children away captives, and not to kill them. When David invaded them he put all to the sword ( ch. xxvii. 9 ), and no reason can be given why they did not retaliate upon this city, but that God restrained them; for he has all hearts in his hands, and says to the fury of the most cruel men, Hitherto thou shalt come, and no further. Whether they spared them to lead them in triumph, or to sell them, or to use them for slaves, God's hand must be acknowledged, who designed to make use of the Amalekites for the correction, not for the destruction, of the house of David.
II. The confusion and consternation that David and his men were in when they found their houses in ashes and their wives and children gone into captivity. Three days' march they had from the camp of the Philistines to Ziklag, and now that they came thither weary, but hoping to find rest in their houses and joy in their families, behold a black and dismal scene was presented to them ( v. 3 ), which made them all weep (David himself not excepted), though they were men of war, till they had no more power to weep, v. 4 . The mention of David's wives, Ahinoam and Abigail, and their being carried captive, intimates that this circumstance went nearer his heart than any thing else. Note, It is no disparagement to the boldest and bravest spirits to lament the calamities of relations and friends. Observe, 1. This trouble came upon them when they were absent. It was the ancient policy of Amalek to take Israel at an advantage. 2. It met them at their return, and, for aught that appears, their own eyes gave them the first intelligence of it. Note, When we go abroad we cannot foresee what evil tidings may meet us when we come home again. The going out may be very cheerful, and yet the coming in be very doleful. Boast not thyself therefore of to-morrow, nor of to-night either, for thou knowest not what a day, or a piece of a day, may bring forth, Prov. xxvii. 1 . If, when we come off a journey, we find our tabernacles in peace, and not laid waste as David here found his, let the Lord be praised for it.