Judges 7:4

4 Then the Lord said to Gideon, "There are still too many people. Take them down to the water, and I will test them for you there. If I say to you, 'This one can go with you,' he can go. But if I say about anyone, 'This one cannot go with you,' he cannot go."

Judges 7:4 In-Context

2 The Lord said to Gideon, "You have too many people for Me to hand the Midianites over to you, or else Israel might brag: 'I did it myself.'
3 Now announce in the presence of the people: 'Whoever is fearful and trembling may turn back and leave Mount Gilead.' " So 22,000 of the people turned back, but 10,000 remained.
4 Then the Lord said to Gideon, "There are still too many people. Take them down to the water, and I will test them for you there. If I say to you, 'This one can go with you,' he can go. But if I say about anyone, 'This one cannot go with you,' he cannot go."
5 So he brought the people down to the water, and the Lord said to Gideon, "Separate everyone who laps water with his tongue like a dog. Do the same with everyone who kneels to drink."
6 The number of those who lapped with their hands to their mouths was 300 men, and all the rest of the people knelt to drink water.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.