They helped David against the raiding bands because they were all warriors and officers in the army.