See more of the story

This is a hard time to retire. The market is down 7% from last year and the rate of inflation has risen to 8.5%. Both are brutal to your bottom line when you're on a fixed income. But buck up! As bad as things seem, odds are you are in better shape than your parents or grandparents. And if they got through retirement comfortably, so will you.

If there were a golden age of retirement, it would be now. For most of human history people worked until they were physically unable, and then spent the remainder of their lives either poor or dependent on family. This changed in the 20th century when many economically developed countries adopted various pension programs that paid income through retirement. The U.S. pays Social Security benefits and also offers tax incentives for employers to offer retirement plans.

Greater access to retirement accounts such as a 401(k) means people are retiring with more money than before. Of course, many people still don't have access to retirement accounts through their jobs, or don't have extra income to save. But most retirees have a lot more money than they used to.

More money translates to more income in retirement. One study looked at the IRS records of 5% of retired Americans and estimated that income grew 10 to 12% for 70-year-olds in 2011 compared with 2000. Overall, the data shows people have more or almost the same income than previous cohorts of retirees.

Our government benefits are also worth much more now. When interest rates fall, as they have over the past 30 years, the value of low-risk income like Social Security increases. True, medical costs have risen, but that also reflects that health care has gotten much better at keeping us alive and improving our quality of life. Medicare has also become more generous: Consider, for example, the creation of the prescription drug benefit in 2003.

It's also true that you can expect to live longer in retirement, and that means your money has to last longer. But isn't that a good problem to have? You're probably healthier, too, than previous retirees at your age, which means you can do part-time work years into retirement if you need to.

Before you get too confident, though, I have to add this caution: Retirement these days isn't easy. When you're living longer and don't want to run out of money before you dance your last dance, figuring out how much you can safely spend each year is a very difficult problem — especially when markets are volatile and inflation is high and unpredictable.

To make matters worse, the current conventional wisdom, such as the 4% rule or spending your Required Minimum Drawdown (RMDs), would suggest that you should pare back spending in an economy like we're having now. But that's easier said than done when your money will buy less with inflation at 8.5%, and many retirees are feeling ready to travel and socialize after years of pandemic isolation.

In finance, any strategy that forces you to cut spending at the worst possible time is considered a failure. Yet for some reason millions of retirees are advised to follow a strategy that does exactly that. So if you want to do better and don't want to buy an annuity with your savings, you need to be more strategic.

Divide your spending into wants and needs. Finance your needs (housing costs, food) with stable, inflation-protected income like Social Security or inflation-adjusted bonds. Then finance your wants based on how your risky assets are performing (a good investment choice would be cheap, well-diversified stock funds) and balance those decisions with your personal situation. If this is the year you feel you really need to take a vacation with your grandkids, so be it. You can at least rest assured that while you splurge, you've got your needs financed with low-risk assets, so you know you'll be OK in the future.

Plans like your 401(k) have taken a lot of flak over the years, but they're the main reason many retirees will be better off compared with previous generations. That means that boomers enter retirement richer than previous generations but burdened with a very complex risk problem: how to spend that money. So if you want to fret about your retirement, fret about that — in times like these, the problem is harder to solve than ever.

Allison Schrager is a senior fellow at the Manhattan Institute and author of "An Economist Walks Into a Brothel: And Other Unexpected Places to Understand Risk."