In a situation where wind isn’t a factor, and there are no obstacles, this is true.
But since we’re talking boats, I’m assuming wind speed/direction is a factor, so the ship that can adjust their orientation and sails to maximally take advantage of the wind could have an advantage.