Judges 7:2-8
7:2 The Lord said to Gideon, “You have too many men for me to hand Midian over to you. Israel might brag, ‘Our own strength has delivered us.’
7:3 Now, announce to the men, ‘Whoever is shaking with fear may turn around and leave Mount Gilead.’” Twenty-two thousand men went home; ten thousand remained.
7:4 The Lord spoke to Gideon again, “There are still too many men. Bring them down to the water and I will thin the ranks some more. When I say, ‘This one should go with you,’ pick him to go; when I say, ‘This one should not go with you,’ do not take him.”
7:5 So he brought the men down to the water. Then the Lord said to Gideon, “Separate those who lap the water as a dog laps from those who kneel to drink.”
7:6 Three hundred men lapped; the rest of the men kneeled to drink water.
7:7 The Lord said to Gideon, “With the three hundred men who lapped I will deliver the whole army and I will hand Midian over to you. The rest of the men should go home.”
7:8 The men who were chosen took supplies and their trumpets. Gideon sent all the men of Israel back to their homes; he kept only three hundred men. Now the Midianites were camped down below in the valley.