The debacle in Iraq isn’t President Barack Obama’s fault. It’s not the Republicans’ fault. Both bear some responsibility, but, overwhelmingly, it’s the fault of the Iraqi prime minister, Nouri al-Maliki.

Some on the left suggest that President George W. Bush is at fault because he invaded Iraq in the first place. Sen. John McCain argues that the White House bears such responsibility that Obama should replace his national security team.

Let’s remember that Iraq isn’t a political prop. It’s a country whose 33 million people are on the edge of a precipice. Iraq is driven primarily by its own dynamic, and unfortunately, there are more problems in international relations than there are solutions.

The debate about who lost Iraq is an echo of the equally foolish debate in the mid-20th century about “who lost China.” China wasn’t ours to lose then, and Iraq isn’t ours to lose today.

Where Obama does bear some responsibility is in Syria, the staging area for the current mayhem in Iraq. In retrospect, Obama erred when he vetoed the proposal by then-Secretary of State Hillary Rodham Clinton and Gen. David Petraeus to arm moderates in Syria. No one can know if that would have succeeded. But it is clear that Obama’s policy, to the extent there was one, failed.

In the absence of foreign support, some frustrated Syrian rebels quit units led by moderate commanders and joined the extremists. Extremist forces, particularly the Islamic State of Iraq and the Levant, gained strength and established safe havens in northern Syria.

The Islamic State of Iraq and the Levant used these bases to assault northern Iraq in the last few days. What happened next was stunning: The extremists, with some 4,000 fighters, routed an Iraq army that has more than 200,000 active-duty soldiers.

That’s where al-Maliki comes in, for this is a political, not military, story. For several years, al-Maliki has systematically marginalized Sunnis, weakened Sunni Awakening militias that had been a bulwark against extremists, and undermined the professionalism of the armed forces. Some Sunnis so feared their own government that they accepted the Islamic State of Iraq and the Levant as the lesser of two evils.

So al-Maliki created his own nemesis and ignored danger signs, blindly proceeding without wanting to hear the truth. In all this, he echoes Saddam Hussein.

As the United States debates what to do, let’s remember al-Maliki’s central role in all this. Hawks are right that Iraq could be a catastrophe. We could see the establishment of a terrorist caliphate, untold deaths, soaring oil prices, more global terrorism.

In that context, hawks favor U.S. airstrikes. But such strikes also create risks, especially if our intelligence there is rusty. And although airstrikes might be necessary to slow the Islamic State of Iraq and the Levant, they’re not sufficient.

The crucial step, and the one we should apply diplomatic pressure to try to achieve, is for al-Maliki to step back and share power with Sunnis while accepting decentralization of government. If al-Maliki does all that, it may still be possible to save Iraq. Without that, airstrikes would be a further waste in a land in which we’ve already squandered far, far too much.