2 Samuel 2:31

But the servants of David had smitten of Benjamin, and of Abner’s men, so that three hundred and threescore men died.

The verse belongs to the account in 2 Samuel 1 to 4, specified more closely as chapters 2 to 4, of the establishment of the monarchy and of the causes that led to David being made king over all Israel. Samuel, Saul, and David are the three leading characters of that history, in which Saul proved unworthy, was deposed, and David took his place. It belongs to the time when David reigned at Hebron but did not hold the kingdom peaceably, because Saul's son and army still tried to hold it by force, producing lingering warfare between Judah and Israel. In that warfare the verse records David's victory, proving him always victorious.

That record of victory moved Abner to make overtures to David after Ish-bosheth accused Abner of treachery. Together with Ish-bosheth's inability to unite the kingdom, the restoration of Michal to David, and David's repudiation of the murders of Abner and Ish-bosheth, the way was left open with only Jonathan's lame son remaining. Behind all these political changes was God's purpose to bring David to the throne.