All these were fighting men who volunteered to serve in the ranks. They came to Hebron fully determined to make David king over all Israel. All the rest of the Israelites were also of one mind to make David king.
NIV
All these, being men of war arrayed in battle order, came with a perfect and sincere heart to Hebron to make David king over all Israel; and all the rest also of Israel were of one mind to make David king.
AMP
All these men of war, that could keep rank, came with a perfect heart to Hebron, to make David king over all Israel: and all the rest also of Israel were of one heart to make David king.
KJV