Judges 7:5-6

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