That is incorrect. Lincoln was not going to eradicate chattel slavery. That didn't become an aim of the war until a year and a half into it.
This is called "moving the goal posts." If you are going to criticize others, you need to get your facts accurate.
And the “house divided” speech? Obviously, keeping the Union together was, by far, the primary aim of the war. But to pretend that slavery had little/nothing to do with the war is simply disingenous, and ignores the very reasons that keeping the Union together was even necessary.