To the contrary--the COnfederate States went to war over the rights of self-determination as States to secede from the United States and not be part of the Federal GOvernment's Union of States.
The slavery issue was definitely an economic driver, but the Union was not militating for emancipation until well into the war.
A