Faced with wars, climate change and a pandemic, the United Nations is struggling to make an impact.