1 And David numbered the people that were with him, and set captains of thousands, and captains of hundreds over them.
2 Samuel 18:1 Cross References - KJV
Exodus 17:9
9 And Moses said unto Joshua, Choose us out men, and go out, fight with Amalek: to morrow I will stand on the top of the hill with the rod of God in mine hand.
Joshua 8:10
10 And Joshua rose up early in the morning, and numbered the people, and went up, he and the elders of Israel, before the people to Ai.
1 Samuel 8:12
12 And he will appoint him captains over thousands, and captains over fifties; and will set them to ear his ground, and to reap his harvest, and to make his instruments of war, and instruments of his chariots.