In what's likely to be his final address to the UN General Assembly, Joe Biden has urged world leaders to step up to deal with an "inflection point" in history.
The outgoing US president's speech was one of the first at the annual gathering of leaders, where several raging wars are expected to dominate discussion.
He stepped through a litany of devastating conflicts and existential challenges plaguing the globe, but said: "I have hope. I know there is a way forward."
"I truly believe we're at another inflection point in world history," he told the gathered leaders.
Mr Biden did not explicitly speak about the device-detonation and air strike attacks that had killed hundreds of people in Lebanon in recent days. But he insisted there was still hope for diplomacy to end the fighting between Israel and militant group Hezbollah.
"Full-scale war is not in anyone's interest," he said. "Even as the situation has escalated, a diplomatic solution is still possible. In fact, it remains the only path to lasting security."
The president again pushed for Israel and Hamas to agree to a ceasefire deal, saying the families of Israeli hostages and the civilians of Gaza were both "going through hell".
"Gaza is not the only conflict that deserves our outrage," he said, noting Sudan's civil war had unleashed a humanitarian crisis that had pushed 8 million people to the brink of famine.
"The world needs to stop arming the generals, to speak with one voice and tell them, 'Stop tearing your country apart, stop blocking aid to the Sudanese people, end this war now,'" Mr Biden said.
He said there was "good news" about Ukraine.
"Putin's war has failed," he declared.
"He set out to destroy Ukraine, but Ukraine is still free. He set out to weaken NATO, but NATO is bigger, stronger, more united than ever before."
But he said the world "cannot grow weary" in its support for Kyiv to defend itself against Russia's ongoing attacks.
Ukrainian president Volodymyr Zelenskyy, who was in the general assembly chamber for the speech, is hoping to present a "victory plan" to Mr Biden in Washington DC on Thursday, local time.
Mr Biden's 20-minute speech was wide-ranging, also touching on topics like climate change and artificial intelligence.
He ended it by speaking about his "difficult decision" to exit the US presidential race, framing it as a lesson for other world leaders.
"There's so much more I want to get done," he said, but he'd decided it was "time for a new generation of leadership".
"My fellow leaders, never forget: some things are more important than staying in power," he said to applause.
"It's your people that matter the most."