"We've gathered here because the time has come," Mr Macron said at the UN General Assembly in New York.