It was not about slavery-- it was about the North needing the resources the South had!
The North had the industry, the South had the food and cotton--