Theodoret of Cyrus
David's absence from the conflict with the outsiders, I believe, reflects the hand of divine providence. God, in His mercy, did not look down upon the people in their demise but showed concern for Saul and his people in every respect.