President Lincoln and Republicans in Congress recognized that preserving America’s credit was the key to financing the Civil War, and therefore to the government’s survival.
source https://www.nytimes.com/2023/05/24/opinion/debt-crisis-civil-war.html