<prompt> Translate the following text to SwahiliWhen he attempted to restore national pride by wresting the Suez Canal out of British hands he suffered an embarrassing diplomatic defeat and, at home, unrest turned to opposition.  <response>: Alipojaribu kurudisha kiburi cha taifa kwa kuondoa Mfereji wa Suez mikononi mwa Waingereza, alipata ushindi wa kidiplomasia wenye kuaibisha na, nyumbani, machafuko yaligeuka kuwa upinzani. 