Slavery was flourishing in 1860, not dying out. The property value of enslaved people ($3 billion) exceeded the value of all US industry and railroads combined ($2.5 billion). The war was not 'needless'—slavery would have lasted decades longer without it.
Gallagher rebuts the claim that the Civil War was unnecessary because slavery was on its way out. Using 1860 census data, he shows slave property was the single most valuable asset class in the US, and slavery was expanding, not contracting.
transcript
Gary Gallagher: There was a time in the literature when people argued that the war was needless, the Civil War was needless because slavery was on its way out. That's absolutely wrong. It was not on its way out. It was thriving. ... The 1860 census is our friend, and it tells us that the people who controlled the most wealth in the United States were slaveholders, and their property in slaves alone, not their other holdings, not their land holdings, just property in slaves were valued at about three billion dollars. The value of all industries, all railroads, all of that put together, fewer than two point five billion dollars.
provides context · 1