That's exactly not how pensions work. Pensions are where a company or government saves or invests some portion of your earnings in order to pay it back later. It's a savings account for people who are too retarded to handle saving money (which is a lot of people).
What inevitably happens though is that the pension fund is looted one way or another and the whole thing turns into a Ponzi scheme. The Boomers looted the SS pension fund (anyone remember Al Gore and his Lock Box?) and now there's no money in it so they're passing the payments of young people directly to the old people (Ponzi scheme).