WASHINGTON — President Trump likes nothing more than presenting himself as the ultimate deal maker, the master negotiator who can translate his success in business into the worlds of politics, policy and diplomacy. “That’s what I do, is deals,” he said one day last month.

Except that so far he has not. As he threw in the towel on immigration legislation on Friday, saying that Republicans should give up even trying until after the fall midterm elections, Mr. Trump once again fell short of his promise to make “beautiful” deals that no other president could make.

His 17 months in office have in fact been an exercise in futility for the art-of-the-deal president. No deal on immigration. No deal on health care. No deal on gun control. No deal on spending cuts. No deal on Nafta. No deal on China trade. No deal on steel and aluminum imports. No deal on Middle East peace. No deal on the Qatar blockade. No deal on Syria. No deal on Russia. No deal on Iran. No deal on climate change. No deal on Pacific trade.

Even routine deals sometimes elude Mr. Trump, or he chooses to blow them up. After a Group of 7 summit meeting this month with the world’s leading economic powers, Mr. Trump, expressing pique at Canada’s prime minister, refused to sign the carefully negotiated communiqué that his own team had agreed to. It was the sort of boilerplate agreement that every previous president had made over four decades.