While the northerners openly opposed slavery, the spread of slavery not the existence of, their sole motivation would be based on selfish reasons. It would not be sympathy to slaves but rather a need to prevent competing with black labor which they deemed a threat to their liberties.
Appealing the expansion of slavery to other territories would not only allow free labor to flourish but would provide the opportunity