2 Samuel 18:1

1 And David numbered the people who were with him, and set captains of thousands and captains of hundreds over them.