That's one way to look at it. Great comeback. The North fought the war over secession, not slavery, no matter how many times you come up with such a brilliant rebuff.
Your statement the Northern states fought the southern secessionist's over their rebellion against the United States government is correct, if you are addressing the treasonous root cause of South Carolina hotheads shelling a U.S. fort, while contingent on those fighting for the Union, many others also fought to end slavery, an evil the Confederate leadership demanded be upheld and expanded westward.
These exists backward pockets of die-hard, treasonous segregationists still screaming for their defeated 'heritage'...not 'hate'. If you buy that one there is a river, with a large bridge in Brooklyn, which is still for sale.