I suppose you believe the Union fought to end slavery too, with four slave states on the Union side and a constitution that had to be amended in order to end slavery.
No. The North didn’t fight to end slavery, it fought to preserve the Union and won.