How can one feel sorry for James Cayne? The potential losses of the chairman and former chief executive of Bear Stearns must rank up there with the biggest in modern history. The value of his stake in Bear Stearns collapsed from about $1 billion a year ago to as little as $14 million at the price JPMorgan Chase offered for the teetering bank on Sunday.

Still, Mr. Cayne was paid some $40 million in cash between 2004 and 2006, the last year on record, as well as stocks and options. In the past few years, he has sold shares worth millions more. There should be financial accountability for the man who led Bear Stearns as it gorged on dubious subprime securities to boost its profits and share price, helping to set up one of the biggest financial collapses since the savings-and-loan crisis in the 1980s. Some might argue that he should have lost it all.

But that’s not how it works. The ongoing bailout of the financial system by the Federal Reserve underscores the extent to which financial barons socialize the costs of private bets gone bad. Not a week goes by that the Fed doesn’t inaugurate a new way to provide liquidity  meaning money  to the financial system. Bear Stearns isn’t enormous. It doesn’t take deposits from the public. Yet the Fed believed that letting it implode could unleash a domino effect among other banks, and the Fed provided a $30 billion guarantee for JPMorgan to snap it up.

Compared to the cold shoulder given to struggling homeowners, the cash and attention lavished by the government on the nation’s financial titans provides telling insight into the priorities of the Bush administration. It’s not simply a matter of fairness, though. The Fed is probably right to be doing all it can think of to avoid worse damage than the economy is already suffering. But if the objective is to encourage prudent banking and keep Wall Street’s wizards from periodically driving financial markets over the cliff, it is imperative to devise a remuneration system for bankers that puts more of their skin in the game.