Here's the rest of the context:
Lincoln never said he wanted to end slavery in the South. He did not believe anyone had the right to do so. Yet he did not want to see slavery spread to other parts of the United States.
The sentence in question means that in spite of the fact that Lincoln didn't think anyone had a right to end slavery, he didn't want it to spread.