World War II ended the Great Depression. How? Massive deficit spending.
After the war, we faced a huge national debt and high unemployment. Europe was devastated, our factories were closing and our infrastructure was in tatters. What to do?
We raised taxes. A lot, with the top rate going above 90 percent. And then what? More deficit spending on the Marshall Plan, Interstate highways, dams, bridges, schools, airports, government buildings, etc., until business boomed. Unions raised wages and spread the wealth, and the middle class was born.