Judges 7:4-6

4And the Lord said to Gideon, “The people are still too many. Take them down to the water, and I will test them for you there, and anyone of whom I say to you, ‘This one shall go with you,’ shall go with you, and anyone of whom I say to you, ‘This one shall not go with you,’ shall not go.” 5So he brought the people down to the water. And the Lord said to Gideon, “Every one who laps the water with his tongue, as a dog laps, you shall set by himself. Likewise, every one who kneels down to drink.” 6And the number of those who lapped, putting their hands to their mouths, was 300 men, but all the rest of the people knelt down to drink water.
Copyright information for ESV