Not only that, a strong argument can be made that capitalism ended slavery. The American South was an agrarian society, with an economy based on crops. The North was a capitalist society with industry forming a much larger portion of the economy. It was the industrialist, capitalist North that voted an abolitionist President into office and defeated the South's subsequent rebellion.
This pattern holds true across global history. Agrarian societies have almost always had some mechanism to lock large segments of the population into agricultural or manual labor: caste systems, serfdom, slavery all filled this role with some variation in their implementation. Abolition movements predominantly occurred in the time range from 1750 to 1900, and in the same time period many countries began to industrialize.
Industrialism did make slavery obsolete and, where still needed, easy to offshore. Which I think is what described ended slavery in the US
Plantation owners are capitalists in the same vein that Romans were capitalists when they conquered neighbors and cultivated this newly annexed land. This is perhaps correct in a very abstract sense of capitalism, but it is an alternative definition that is not shared by most people and most people will say you are wrong if you try to claim that this is capitalism.