The LORD told Gideon, “With these 300 men I will rescue you and give you victory over the Midianites. Send all the others home.” So Gideon collected the provisions and rams’ horns of the other warriors and sent them home. But he kept the 300 men with him.
The Midianite camp was in the valley just below Gideon. That night the LORD said, “Get up! Go down into the Midianite camp, for I have given you victory over them! But if you are afraid to attack, go down to the camp with your servant Purah. Listen to what the Midianites are saying, and you will be greatly encouraged. Then you will be eager to attack.”
So Gideon took Purah and went down to the edge of the enemy camp. The armies of Midian, Amalek, and the people of the east had settled in the valley like a swarm of locusts. Their camels were like grains of sand on the seashore—too many to count! Gideon crept up just as a man was telling his companion about a dream. The man said, “I had this dream, and in my dream a loaf of barley bread came tumbling down into the Midianite camp. It hit a tent, turned it over, and knocked it flat!”
His companion answered, “Your dream can mean only one thing—God has given Gideon son of Joash, the Israelite, victory over Midian and all its allies!”
When Gideon heard the dream and its interpretation, he bowed in worship before the LORD. Then he returned to the Israelite camp and shouted, “Get up! For the LORD has given you victory over the Midianite hordes!” He divided the 300 men into three groups and gave each man a ram’s horn and a clay jar with a torch in it.
Then he said to them, “Keep your eyes on me. When I come to the edge of the camp, do just as I do. As soon as I and those with me blow the rams’ horns, blow your horns, too, all around the entire camp, and shout, ‘For the LORD and for Gideon!’”
It was just after midnight, after the changing of the guard, when Gideon and the 100 men with him reached the edge of the Midianite camp. Suddenly, they blew the rams’ horns and broke their clay jars. Then all three groups blew their horns and broke their jars. They held the blazing torches in their left hands and the horns in their right hands, and they all shouted, “A sword for the LORD and for Gideon!”
Each man stood at his position around the camp and watched as all the Midianites rushed around in a panic, shouting as they ran to escape. When the 300 Israelites blew their rams’ horns, the LORD caused the warriors in the camp to fight against each other with their swords. Those who were not killed fled to places as far away as Beth-shittah near Zererah and to the border of Abel-meholah near Tabbath.
Then Gideon sent for the warriors of Naphtali, Asher, and Manasseh, who joined in chasing the army of Midian. Gideon also sent messengers throughout the hill country of Ephraim, saying, “Come down to attack the Midianites. Cut them off at the shallow crossings of the Jordan River at Beth-barah.”
So all the men of Ephraim did as they were told. They captured Oreb and Zeeb, the two Midianite commanders, killing Oreb at the rock of Oreb, and Zeeb at the winepress of Zeeb. And they continued to chase the Midianites. Afterward the Israelites brought the heads of Oreb and Zeeb to Gideon, who was by the Jordan River.