The correct response is: President Lincoln only had the authority to ban slavery in the Confederacy, not the Union.
The Emancipation Proclamation was issued as a wartime measure, and Lincoln's authority to take such action applied specifically to the rebellious states in the Confederacy. He did not have the constitutional authority to abolish slavery in the border states that remained loyal to the Union.