WASHINGTON (CNN) -- The House's failure to pass a $700 billion bailout package Monday not only held back billions for Wall Street but also was a major blow to Sen. John McCain's presidential campaign.

Sen. John McCain says he is ready to work to get a financial rescue plan through Congress.

The Republican presidential nominee raised the stakes for himself last week when he suspended his campaign and returned to Washington for negotiations over a solution to the financial crisis.

"Even before the House vote, voters blamed Republicans more than Democrats for the crisis. Then McCain suspended his campaign to come back to Washington to rally support for a rescue plan," said Bill Schneider, a CNN political analyst. "He failed, so he gets blamed by both supporters and opponents of the rescue plan."

During a campaign event in Des Moines, Iowa, on Tuesday, McCain appeared to distance himself from Monday's House vote, saying the congressional inaction had "every American and the entire economy at the gravest risk."

"Yesterday, the country and the world looked to Washington for leadership, and Congress once again came up empty-handed," he said.

But over the weekend, McCain had involved himself in the efforts to get the bailout package to the president's desk. iReport: Do you support the bailout?

Rep. John Boehner of Ohio, the top Republican in the House, said that McCain was actively involved in lobbying Republican House members Sunday to line up behind the bailout.

"He has been making calls to members in support of this bill ... and I'm grateful for his support," Boehner said.

But it was a majority of McCain's own Republicans in the House who voted against the bailout by a 2-1 ratio Monday afternoon, leaving the outcome of the bailout in doubt and sending the stock market diving 778 points. Despite McCain's lobbying efforts, 133 House Republicans voted against the bill. Watch the candidates' reaction to the bailout's failure »

After the vote, McCain was defensive, accusing his Democratic rival, Sen. Barack Obama, of just wanting to "phone it in" when it came to the bailout and introducing partisanship into the process.

"Sen. Obama and his allies in Congress infused unnecessary partisanship into the process. Now is not the time to fix the blame. It's time to fix the problem," he said after the vote. Watch politicians point fingers after the vote »

But on Tuesday morning, McCain said the bill failed "because we haven't convinced people that this is a rescue effort, not just for Wall Street, but for Main Street America, for working families, for small businesses, for the heartland of America."

"I may fail a first or second or third time, but we have to get this job done for America. And I have a plan to restore our economy," McCain added. Watch McCain say he has a plan »

Before the House vote, McCain was losing ground to Obama because of the increasingly bad economic news. A CNN/Opinion Research Corporation poll conducted September 19-21 found that Obama was leading McCain 51 percent to 46 percent. Earlier, after the Republican convention, the two had been tied in the polls.

And the CNN poll found that Obama leads McCain 49 percent to 43 percent among those surveyed when asked who had showed better judgment in the economic crisis.

Terry Jeffries, a Republican strategist and CNN contributor, also said McCain may have hurt himself among conservatives by losing sight of his party's free-market principles.

"I think that John McCain failed to lead," Jeffries said. "He should be right there pushing the principles, and the conservatives in the House are doing that right now."

While Obama and McCain have mostly agreed on the principles of the bailout, Obama has mostly stayed out of negotiations and has used the financial crisis to attack the economic policies of the Bush administration and tie McCain to the unpopular President Bush. Watch Obama call for calm »

"He didn't put himself in that process. He was smart enough to realize he couldn't control the House Republicans or Democrats," said Ed Rollins, another Republican strategist and CNN contributor.

But McCain's allies still said the Arizona senator made the right move when he inserted himself into the talks.

"He wanted to come back to Washington and to help with the crisis. And the fact it didn't work out, it's not on his shoulders," said Ron Bonjean, a Republican strategist. "Frankly, it's on the Democrats' shoulders. They're the ones who run Congress."

CNN's Ed Henry and Scott J. Anderson contributed to this report.

All About John McCain