If Lincoln’s goal were to end slavery he would have done it in his own land first.
It was the goal of the Abolitionists.
Lincoln was the head of a Party founded on the goal of ending slavery. He didn’t believe the President had Constitutional authority to do that. He correctly understood it would take a Constitutional Amendment to achieve it, which is why the Emancipation Proclamation did not cover States still part of the United States of America.