Ex-security adviser: Biden caused ‘generational hits to our influence and reputation’ in world