Because the south needed slavery to run it's economy and they could hardly endorse one kind of freedom and not the other. The declaration is a summary of all the injustices endured by the colonies, but the largest one of all was the slavery inflicted on the colored by landowners.
It would take a civil war to resolve the issue of slavery. At the time of the Declaration it was a completely non negotiable point.