2 Samuel 20:8-10

8 When they were at the great stone in Gibeon, Amasa came to meet them. Now Joab was wearing his military uniform, and over it he had a belt with a sheathed sword strapped around his hips; and as he went forward,[4] it fell out.

9 Joab said to Amasa, "Is it going well with you, my[5] brother?" And with his right hand Joab took hold of Amasa by the beard [as if] to kiss him [in greeting].

10 But Amasa [who had replaced Joab as David's commander] was off guard and not attentive to the sword in Joab's hand. So Joab struck Amasa in the abdomen with the sword, spilling his intestines to the ground. Without another blow Amasa died. Then Joab and Abishai his brother pursued Sheba the son of Bichri.