UN secretary general warns ‘we are digging our own grave’