Yes, and no.
Sure the general fund was running deficits and the SS surplus was used to finance those deficits but if the SS tax had been higher (assuming no change in General Fund spending) the overall deficits would have been smaller and the overall debt today would be smaller.
Sorry. I thought we were discussing entitlements. Social Security is ostensibly a program intended to be funded by the payroll tax. You asked why nobody for the past ~40 years has done anything to fix the system since the last major change in 1983.
My answer--which I think is valid--is that the payroll tax was fully funding the payment of Social Security benefits up until 2020. Therefore raising the tax prior to that point would not have done anything for
Social Security.
If you're asking why nobody has done anything since? Well, probably because they want to create a false deadline of when the SSTF is getting closer to exhaustion, because they don't want the political pain of doing it now. I think we'd both agree that's just going to cause more pain, and that the payroll tax--the funding source of the program--should be aligned with the benefits the program is paying out.
----------------------------
Now, if your question is...
Why did nobody raise payroll taxes earlier to continue the lie that those payroll taxes are only 'intended to be paying for Social Security' and actually make it subsidize the general fund even more so Congress could lie about how much the total debt/deficit is? To that, I have no answer.
My opinion in general is that if you have a program that is very specific, and you have a taxation scheme that exists for the purpose of funding that program... Funds should be used for that program, and not something else. I.e. if you have a gas excise tax to fund transportation projects, the revenues of that excise tax should largely fund... transportation projects. If you have a payroll tax which exists to fund Social Security, that tax should largely fund... Social Security.
So my question back to you is: "Why would you expect them to raise the payroll tax prior to 2020, when Social Security benefits were still being FULLY funded by the payroll tax, instead of raising income taxes, or corporate taxes, or any other government revenue source, to be used for general fund expenditures?"