I may complement this excellent point because that really gave the diagnosis of the issue.
I would mention that there are countries that are trying to tackle this issue by, for instance, providing pension credits for years of unpaid care work, so trying to reflect that in how pensions are calculated, to recognize and take those years into account. The same is also provided to men, to recognize also the unpaid care that men provide. Grandfathers in their later years may also have those years taken into account, which promotes men's participation in unpaid care work.
Also keep in mind the importance of having those non-contributory pensions at a level that really provides dignity in old age. They are a really important way to recognize those who haven't been in the labour force and who have not been able to contribute to the social security system or have a contributory pension. Keeping in mind the importance of a decent pension system is essential.
Other countries, for instance, also shape their parental leave systems or child care benefits to recognize the contribution of grandparents. Sometimes it is also possible to transfer leave or child care benefits to grandfathers or to, effectively, carers who many be other family members. If they are the caregivers, as is the reality in many countries, their unpaid work can be recognized.