Then Jerubbaal (that is, Gideon) and all the people who were with him rose early and encamped beside the spring of Harod. And the camp of Midian was north of them, by the hill of Moreh, in the valley.
The LORD said to Gideon, "The people with you are too many for me to give the Midianites into their hand, lest Israel boast over me, saying, 'My own hand has saved me.' Now therefore proclaim in the ears of the people, saying, 'Whoever is fearful and trembling, let him return home and hurry away from Mount Gilead.'" Then 22,000 of the people returned, and 10,000 remained.
And 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." So 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." And 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. And the LORD said to Gideon, "With the 300 men who lapped I will save you and give the Midianites into your hand, and let all the others go every man to his home." So the people took provisions in their hands, and their trumpets. And he sent all the rest of Israel every man to his tent, but retained the 300 men. And the camp of Midian was below him in the valley.