Judges 7:5-7
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.”