Judges 7:5-7
5 So Gideon took the men down to the water. There the Lord told him, “Separate those who lap the water with their tongues like a dog from those who kneel down to drink.”
6 Three hundred men lapped with their hands to their mouths. All the rest got down on their knees to drink.
7 The Lord said to Gideon, “With the three hundred men that lapped I will save you and give the Midianites into your hands. Let all the other men go, each to his own place.”