Oreb was one of two Midianite leaders killed by men from the tribe of Ephraim. The other leader was Zeeb (Judges 7:25).
Their deaths followed Gideon's surprise attack on the Midianite camp near the hill of Moreh in the Valley of Jezreel. As the Midianites fled east, they had to cross the Jordan River.
Gideon sent a message to the men of Ephraim, telling them to take control of the river crossings so the Midianites could not escape. The Ephraimites followed his instructions and stopped a group of fleeing Midianites, including Oreb and Zeeb.
The Ephraimites killed the two leaders and cut off their heads. They brought the heads to Gideon as proof of their victory while he was pursuing the Midianites east of the Jordan River (Judges 8:3).
Later in Israel's history, the deaths of Oreb and Zeeb were remembered as a great victory that God gave his people over their enemies. In Psalm 83:11, the psalmist asks God to defeat the leaders of Israel's enemies, just as he defeated the Midianite leaders. Through the prophet Isaiah, the Lord also promised to defeat the Assyrians, just as he had defeated the Midianites at the rock of Oreb (Isaiah 9:4; 10:26).
These passages show that the earlier victory involved more than the deaths of two leaders. It was a major defeat that weakened the Midianite army and helped protect Israel from its enemies.