2 Samuel 20:16-26

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.
23 Now Joab was over all the army; and Benaiah, the son of Jehoiada, was at the head of the Cherethites and the Pelethites;
24 And Adoram was overseer of the forced work; and Jehoshaphat, the son of Ahilud, was the recorder;
25 And Sheva was the scribe, and Zadok and Abiathar were priests;
26 And in addition, Ira the Jairite was a priest to David.