If the Constitution doesnt apply to state or local governments, there would still be slavery.
You probably should get a copy of the Constitution, and read it. It still allows slave labor, it just restricts it. Notice that the sixth word of the 13th Amendment is "EXCEPT".