Wrong , they didn't go towards the social security system.
Right, they didn't go for your own state pension, they provided pensions for the pensioners at the time, on the basis that when you became a pensioner you would receive a pension under the same arrangement.