Joab and his brother Abishai killed Abner because Abner had killed their brother Asahel in the battle at Gibeon.