The correct answer is D. To anticipate another and to gain advantage over him.

To take the wind out of another's sails is an idiom that means to defeat or discourage someone, especially by depriving them of their enthusiasm or confidence. It is thought to have originated in the 16th century, when sailing ships were powered by the wind. If a ship's sails were suddenly deflated, it would lose speed and be at a disadvantage.

Option A is incorrect because it is not the meaning of the idiom. To maneuver to mislead another on the high seas is to sail in a way that is designed to confuse or deceive another ship.

Option B is incorrect because it is not the meaning of the idiom. To cause harm to another is to injure or damage someone or something.

Option C is incorrect because it is not the meaning of the idiom. To defeat the motives of another is to prevent someone from achieving their goals.