as it was only an order freeing slaves in confederate states not under union control.

What it DID do, however, was commit elimination of slavery as an aim of the conflict and laid the groundwork for the ratification of the 13th Amendment.

Agree, though, that for accuracy the question should be rephrased or changed to the aim of the 13th amendment.