The Emancipation Proclamation was issued three years into the war, and it only applied to the territory Lincoln’s government didn’t control. It did nothing to free a single slave.
It freed every slave in the areas under control of the forces of the rebellion. Didn't you read it?