To take the wind

to gain or have the advantage.

See also: Wind