Few budgetary concepts generate as much confusion as the Social Security trust fund. In 2021, working Americans will pay 6.2% of their wages up to $142,800 to the government and employers match that amount. The self-employed have to pay both amounts. This payroll tax is deposited into the Social Security Trust Fund and retiree benefits and administrative expenses are paid out of this fund. The following article is the best I’ve read explaining whether the federal government really raids the trust fund and whether Social Security will run out of money.
https://www.thinkadvisor.com/2020/11/22/the-social-security-trust-funds-explained/