Bashing Saudi Arabia during a presidential election season is almost a tradition in the United States, and President Biden made no exception. Emboldened by domestic outrage over the murder of the journalist Jamal Khashoggi and the Saudi-led intervention in Yemen, Mr. Biden went further than his predecessors by calling Saudi Arabia a "pariah" state. Mr. Biden sought to justify his visit to Saudi Arabia this week in a Washington Post opinion essay, saying his aim was to "reorient," not "rupture," relations. Yet no justification for his visit to the kingdom this week can erase the truth: It is a defeat for Mr. Biden and a personal and political triumph for Crown Prince Mohammed bin Salman, or M.B.S., as he is popularly known. The United States needs Saudi Arabia: The kingdom remains the oil market's major swing producer and is the main buyer of U.S. arms globally. By virtue of geopolitics and economics, Saudi Arabia's cooperation with the United States is consequential when it comes to Washington's efforts to counter Iran, end the war in Yemen and normalize Israel's relations with the Arab world, as well as limit Russia's and China's influence in the region. All of this was true before Russia's invasion of Ukraine upended global oil markets and sent gasoline prices skyrocketing in the United States and Europe. So the Biden administration had to come up with a solution to its Saudi problem, especially in a critical election year, as Mr. Biden's job approval ratings have dropped and gas prices have soared.