No. The North didn’t fight to end slavery, it fought to preserve the Union and won.
It fought to prevent slave states from leaving the Union, with four slave states on the Union side, and didn’t bother to amend the constitution to end slavery until after the war was over.
It fought to preserve a union of legalized slavery, and it won, then illegally abolished slavery to stop the economic power of the South from threatening the New York/Washington DC power cartel that has been controlling the nation ever since.
But when it started the fight, it was planning to keep the slavery.