That might be how your pension works.
Other pension schemes; eg Singapores and some other former and current commonwealth countries pay pension from the returns from 60 odd years of compulsary investment and additional supplementary investment.
https://en.wikipedia.org/wiki/Central_Provident_Fund
https://www.expatica.com/sg/finance/retirement/singapore-pen...
"Returns from an investment fund" are not the same as "taxes collected monthly", money, being fungible, can make it seem that way.