The point of slavery was money, and the point of money was power. By the time of the civil war the real power for the ruling class was coming from industrialization.