No, you paid for the pensioners at the time. Not for your own pensions.
Indeed, the UK state pension introduced in 1948 as a "Pay as you go" pension scheme, where the workers of today pay the pensioners of today and the workers of tomorrow pay the pensioners of tomorrow. The scheme was to be funded by national insurance contributions with a percentage of that contribution going towards the health service.
In a response to a petition in the House last year the following statement was made.
"An individual’s contributions provide a foundation for calculating entitlement to future personal entitlements. The contributions do not actually pay for those entitlements directly. Twenty per cent. of national insurance contributions go towards the national health service, the remainder fund contributory benefits, the vast majority of which goes to the state pension. National insurance contributions are pooled and people do not have an individual pot which funds their own state pension." https://hansard.parliament.uk/commons/2024-02-19/debates/24021975000085/FrozenBritishPensions
In order to defend the government position Mr Maynard referred to the circumstances of the day rather than as they were in 1948, when there were no other benefits being paid from NI. The government had deliberately distorted the NI arrangement in an attempt to remove the link between NI and the state pension. The long term aim has always been to merge NI into general taxation. The above statement is intended to deceive and as politicians have a vested interest in keeping the lid on, nothing was said. People have an NI record and as such have a "holding" in the national insurance fund, a bit like any other pension. It should be remembered it was the introduction of other benefits from NI that resulted in a shortfall from NI with the state pension being partially funded by income tax. The rhetoric above is similar to flawed assessment made by the court in the Carson case, which hinged on the link between NI and state pension.