Not if they are fully funded. But the issue is that most pensions systems are woefully underfunded, thus, are a huge risk.
If pension payouts floated as a percentage of overall asset value, then they would a great retirement strategy. But promising people a guaranteed (generous) fixed-income is not sustainable in the long-term.