Commerce gets in the way of ideals.
In a war to formalise slavery through less obvious means. Black Codes, Jim Crow whathaveyou.
The entire concept of pairing slave states with non-slave states tells you how on board the north was with slavery as long as it wasn't done near them.
If England hadn't shut down the trans-atlantic slave trade let's face it, the USA would probably still be doing it today.
The US voluntary shut down transatlantic imports long before the Civil War: https://en.wikipedia.org/wiki/Act_Prohibiting_Importation_of...
The north thought that slavery would naturally wither away, and went to war when it became apparent that it would not.
Other major slave economies in the Western Hemisphere (Brazil and Cuba) outlawed slavery after the US did.
The US voluntary introduced a law that would have no real affect as the UK had shut the trade down for them.
Functionally, it was telling the domestic slave trade that they were now protected locally and abroad. And lead to a massive increase in Slave breeding.
https://en.wikipedia.org/wiki/Slave_breeding_in_the_United_S...