A wall - To protect them from the attacks of the Bedouins, etc. They had been as safe with David’s men around them as if they had been dwelling in a walled town.
Related Commentaries of 1 Samuel 25:16
1 Samuel 25:16
16 They were a wall unto us both by night and day, all the while we were with them keeping the sheep.