1 Samuel 4:2

4:2 The Philistines arranged their forces to fight Israel. As the battle spread out, Israel was defeated by the Philistines, who killed about four thousand men in the battle line in the field.

1 Samuel 22:2

22:2 All those who were in trouble or owed someone money or were discontented gathered around him, and he became their leader. He had about four hundred men with him.