What happened was, Netanyahu ignored Biden for days as the president begged him to stop bombing Hamas in Gaza.
Then, finally, Egypt brokered a ceasefire. And then, Biden appeared at the White House to claim credit.
From a piece Keith wrote for Fox News:
President Biden sought to take credit for a cease-fire Thursday between Israel and Hamas, despite reports that it was Egypt that brokered the peace.
Biden, who spoke at the White House, included a sentence in his remarks commending Egyptian officials for their “critical role” in ending the fighting. But he repeatedly emphasized the intensive work he said was done by his own administration.
“Over the last 11 days, I spoke with the prime minister six times. I’ve also spoken with President Abbas and the Palestinian Authority more the once and part of our intense diplomatic engagement,” Biden said, “And I want to also thank secretary of state, the secretary of defense, our national security adviser, and everyone on our team for their incredible efforts to bring this about, this outcome that we’re about to see.
“You know, we’ve held intensive, high-level discussions, hour by hour, literally, Egypt, the Palestinian Authority and other Middle Eastern countries, with an aim of avoiding this sort of prolonged conflict we’ve seen in previous years when the hostilities have broken out.”