Joab divides the army