14 And Sheba went through all the tribes of Israel, to Abel of Beth-maacah; and all the Bichrites came together and went in after him. 15 And Joab and his men got him shut up in Abel of Beth-maacah, and put up an earthwork against the town: and all Joab's men did their best to get the wall broken down. 16 Then a wise woman got up on the wall, and crying out from the town, said, Give ear, give ear; say now to Joab, Come near, so that I may have talk with you. 17 And he came near, and the woman said, Are you Joab? And he said in answer, I am. Then she said, Give ear to your servant's words. And he said, I am giving ear. 18 Then she said, In the old days, there was a saying, Let them put the question in Abel and in Dan, saying, Has what was ordered by men of good faith in Israel ever come to an end? 19 Your purpose is the destruction of a mother-town in Israel: why would you put an end to the heritage of the Lord? 20 And Joab, answering her, said, Far, far be it from me to be a cause of death or destruction; 21 Not so: but a man of the hill-country of Ephraim, Sheba, son of Bichri, by name, has taken up arms against the king, against David: give up this man only, and I will go away from the town. And the woman said to Joab, His head will be dropped over the wall to you. 22 Then the woman in her wisdom had talk with all the town. And they had Sheba's head cut off and sent out to Joab. And he had the horn sounded, and sent them all away from the town, every man to his tent. And Joab went back to Jerusalem to the king.

Matthew Henry's Commentary on 2 Samuel 20:14-22

Commentary on 2 Samuel 20:14-22

(Read 2 Samuel 20:14-22)

Justly is that place attacked, which dares to harbour a traitor; nor will the heart fare better which indulges rebellious lusts, that will not have Christ to reign over them. A discreet woman, by her prudent management, satisfied Joab, and yet saved the city. Wisdom is not confined to rank or sex; it consists not in deep knowledge; but in understanding how to act as matters arise, that troubles may be turned away and benefits secured. A great deal of mischief would be prevented, if contending parties would understand one another. Let both sides be undeceived. The single condition of peace is, the surrender of the traitor. It is so in God's dealing with the soul, when besieged by conviction and distress; sin is the traitor; the beloved lust is the rebel: part with that, cast away the transgression, and all shall be well. There is no peace on any other terms.