Why was slavery profitable in the South?

Slaves were better factory workers.
Farmers received a higher price for crops grown by slaves.
The cotton gin made it profitable.