Sailboats shouldn't be that bad considering what goes into their construction and that they don't actively produce pollutants beyond whatever wears off your rope and I guess painting the hull every couple of years.
Boats put out more CO2 than cars. Water is more dense than air and friction of tires and rolling and etc. Boats are overall worse for the environment both on climate change and environmental damage.