Judges 7:2-22 NIV
The LORD said to Gideon, “You have too many men. I cannot deliver Midian into their hands, or Israel would boast against me, ‘My own strength has saved me.’ Now announce to the army, ‘Anyone who trembles with fear may turn back and leave Mount Gilead.’ ” So twenty-two thousand men left, while ten thousand remained.
But the LORD said to Gideon, “There are still too many men. Take them down to the water, and I will thin them out for you there. If I say, ‘This one shall go with you,’ he shall go; but if I say, ‘This one shall not go with you,’ he shall not go.”
So Gideon took the men down to the water. There the LORD told him, “Separate those who lap the water with their tongues as a dog laps from those who kneel down to drink.” Three hundred of them drank from cupped hands, lapping like dogs. All the rest got down on their knees to drink.
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 others go home.” So Gideon sent the rest of the Israelites home but kept the three hundred, who took over the provisions and trumpets of the others.
Now the camp of Midian lay below him in the valley. During that night the LORD said to Gideon, “Get up, go down against the camp, because I am going to give it into your hands. If you are afraid to attack, go down to the camp with your servant Purah and listen to what they are saying. Afterward, you will be encouraged to attack the camp.” So he and Purah his servant went down to the outposts of the camp. The Midianites, the Amalekites and all the other eastern peoples had settled in the valley, thick as locusts. Their camels could no more be counted than the sand on the seashore.
Gideon arrived just as a man was telling a friend his dream. “I had a dream,” he was saying. “A round loaf of barley bread came tumbling into the Midianite camp. It struck the tent with such force that the tent overturned and collapsed.”
His friend responded, “This can be nothing other than the sword of Gideon son of Joash, the Israelite. God has given the Midianites and the whole camp into his hands.”
When Gideon heard the dream and its interpretation, he bowed down and worshiped. He returned to the camp of Israel and called out, “Get up! The LORD has given the Midianite camp into your hands.” Dividing the three hundred men into three companies, he placed trumpets and empty jars in the hands of all of them, with torches inside.
“Watch me,” he told them. “Follow my lead. When I get to the edge of the camp, do exactly as I do. When I and all who are with me blow our trumpets, then from all around the camp blow yours and shout, ‘For the LORD and for Gideon.’ ”
Gideon and the hundred men with him reached the edge of the camp at the beginning of the middle watch, just after they had changed the guard. They blew their trumpets and broke the jars that were in their hands. The three companies blew the trumpets and smashed the jars. Grasping the torches in their left hands and holding in their right hands the trumpets they were to blow, they shouted, “A sword for the LORD and for Gideon!” While each man held his position around the camp, all the Midianites ran, crying out as they fled.
When the three hundred trumpets sounded, the LORD caused the men throughout the camp to turn on each other with their swords. The army fled to Beth Shittah toward Zererah as far as the border of Abel Meholah near Tabbath.
NIV: New International Version