That knowledge enabled them to set a trap and defeat a numerically superior enemy".
The ability to utilize their knowledge led to the setting of a trap and the victory over a numerically superior opponent.